流星物化:物化sass错误
问题描述:
有些人可以告诉我为什么在尝试使用物化:物化包时出现此错误。我安装了节点sass。而且可乐也安装在我的机器上。流星物化:物化sass错误
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! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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
答
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
+0
嘿谢谢你的答复仍然得到同样的错误我害怕 –
答
尝试增加fourseven:SCSS第一
meteor add fourseven:scss
比
meteor add materialize:materialize
为我工作。
可能是您导入物化过程中的错误?它看起来像是它的'fourseven:scss' SCSS编译器由'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'错误。 –