npm install 报错(npm ERR! errno 1)

版权声明:Bobit https://blog.csdn.net/wanlixingzhe/article/details/81020276

问题:

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.9.2 postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.9.2 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

解决:

进入项目目录,运行命令:
npm install --save-dev node-sass

网上方法:(未测试)

npm rebuild node-sass
阅读更多
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页