编程语言
首页 > 编程语言> > npm ERR! Failed at the node-sass@4.13.0 postinstall script.

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

标签:npm,node,4.13,ERR,sass,postinstall
来源: https://www.cnblogs.com/mankii/p/14879797.html