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 uninstall node-sass
解决:
npm install [email protected] --unsafe-perm
查看是否安装成功(不成功可能是网络原因,重复安装几次):
npm list node-sass