【问题标题】:Meteor materialize:materialize sass errorMeteor materialize:materialize sass 错误
【发布时间】:2016-10-03 20:01:06
【问题描述】:

有人可以告诉我为什么在尝试使用 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

【问题讨论】:

  • 您导入物化的方式可能有错误吗?从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 错误来看,它的fourseven:scss SCSS 编译器似乎失败了。

标签: node.js meteor materialize


【解决方案1】:
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 

【讨论】:

  • 嘿,谢谢你的回复,我害怕仍然遇到同样的错误
【解决方案2】:

尝试先添加fourseven:scss

meteor add fourseven:scss

 meteor add materialize:materialize

为我工作。

【讨论】:

    猜你喜欢
    • 2016-04-05
    • 1970-01-01
    • 2015-03-23
    • 2015-05-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-09-20
    • 2018-04-27
    相关资源
    最近更新 更多