C/C++教程

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 ERR! Failed at the node-sass@4.13.0 postinstall script.的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!