[英]npm update throws node-sass error
sometime ago I used node-sass in one of my projects. 某个时候,我在一个项目中使用了node-sass。 Now when I write
npm update
or npm install
in any project (which doesn't use node-sass at all) I get the following error: 现在,当我在任何项目(根本不使用node-sass)中编写
npm update
或npm install
,都会出现以下错误:
npm ERR! node-sass@3.3.2 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@3.3.2 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.
I tried so far: 到目前为止,我尝试过:
my node version is v5.1.0 我的节点版本是v5.1.0
I don't need node-sass at all, but somehow it throws an error, which I can't explain at all. 我根本不需要node-sass,但是无论如何它会引发错误,我根本无法解释。 Has anyone an idea on how to get rid of this?
有谁知道如何摆脱这个想法?
I was using harp in 0.18 which seems to have a bug. 我在0.18中使用竖琴,似乎有一个错误。 0.20.1 fixed this issue for me
0.20.1为我修复了此问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.