输入npm install 报错[email protected] postinstall:`node scripts/build.js` Failed at the [email protected](scratch-www npm i失败)

这个是因为sass安装时获取源的问题,先修改sass安装的源,再运行npm install就成功了

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

猜你喜欢

转载自www.cnblogs.com/mryaohu/p/12329647.html