请告诉我为什么在尝试使用materialize:materialize包时会出现这个错误。我安装了node-sass。并且kola也安装在我的机器上。
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Users\\alexi\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.1_1\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"
"C:\\Users\\alexi\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.1_1\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js"
"rebuild" "--no-bin-links" "--update-binary"
npm ERR! node v4.5.0
npm ERR! npm v3.10.6
npm ERR! code ELIFECYCLE
npm ERR! node-sass@3.2.0 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@3.2.0 postinstall script 'node scripts/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!
C:\Users\alexi\AppData\Local\.meteor\packages\fourseven_scss\3.2.0\plugin.compileScss.os.windows.x86_32\npm\node_modules\meteor\compileScss\compileScss\node_modules\.temp-cwxlp8\npm-debug.log发布于 2016-10-04 16:41:57
You are using npm modules so, You can create one with npm init. Make sure to define a "start" script inside it too before running npm start.
OR
installed "windows-build-tools"
meteor update
meteor update --all-packages
meteor add materialize:materialize 发布于 2016-10-12 15:28:26
尝试添加四七:首先添加scss
meteor add fourseven:scss比
meteor add materialize:materialize对我很管用。
https://stackoverflow.com/questions/39839493
复制相似问题