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! [email protected] postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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

猜你喜欢

转载自blog.csdn.net/wanlixingzhe/article/details/81020276