npm install 报错(npm ERR! errno 1)

##问题:
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

最新回复(0)
/jishuqlUpwtoGzrlssM28CNkQq6nuY1BvOLX7q_2BYe_2BfDnkQI_3D
8