0
点赞
收藏
分享

微信扫一扫

进行npm install时报错 node-sass@4.14.1 postinstall: `node scripts/build.js` Failed at the node-sass@4.14.

追风骚年 2022-03-11 阅读 34
csscss3html

项目进行 npm install时报错
在这里插入图片描述

原因找不到 node-sass@4.14.1

Failed at the node-sass@4.14.1 postinstall script.

解决方法:设置node-sass 的数据源

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

在这里插入图片描述
再次执行:npm install

在这里插入图片描述
程序不再报错!!!

举报

相关推荐

0 条评论