npm ERR! Failed at the node-sass@4.13.0 postinstall script.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.13.0 postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.13.0 postinstall script.

node-sass 的数据源没设置

解决方案:

npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass

重新 npm install

————————————————
原文链接:https://blog.csdn.net/weixin_40816738/article/details/105354777

上一篇:谷粒商城P16 npm install 解决方案


下一篇:Node Sass version 6.0.0 is incompatible with ^4.0.0.