
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.
解决方法:
1.先把项目里的node_modules删除
2.执行以下命令
npm config set registry [https://registry.npm.taobao.org](https://registry.npm.taobao.org)
3.再执行下面的命令
npm install
网友评论