npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.14.1 postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.14.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
卸载之前安装失败的文件:
npm uninstall node-sass
解决:
npm install node-sass@4.14.1 --unsafe-perm
查看是否安装成功(不成功可能是网络原因,重复安装几次):
npm list node-sass