首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Meteor materialize:materialize sass错误

Meteor materialize:materialize sass错误
EN

Stack Overflow用户
提问于 2016-10-04 04:01:06
回答 2查看 266关注 0票数 0

请告诉我为什么在尝试使用materialize:materialize包时会出现这个错误。我安装了node-sass。并且kola也安装在我的机器上。

代码语言:javascript
复制
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
EN

回答 2

Stack Overflow用户

发布于 2016-10-04 16:41:57

代码语言:javascript
复制
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
EN

Stack Overflow用户

发布于 2016-10-12 15:28:26

尝试添加四七:首先添加scss

代码语言:javascript
复制
meteor add fourseven:scss

代码语言:javascript
复制
 meteor add materialize:materialize

对我很管用。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/39839493

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档