npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.13.1 postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.13.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! D:\node\node_cache_logs\2020-06-10T07_07_44_881Z-debug.log
解决方案:先运行npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass
在运行 npm install
本文详细介绍了在安装node-sass模块时遇到的错误代码ELIFECYCLE及错误编号1的问题,并提供了一种解决方案,即通过配置npm源来解决安装失败的问题。
2546

被折叠的 条评论
为什么被折叠?



