输入npm install 报错node-sass@4.13.0 postinstall:`node scripts/build.js` Failed at the node-sass@4.13.0(scratch-www npm i失败)

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

npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass
posted @ 2020-02-19 04:06  Yao靠自己  阅读(2641)  评论(0编辑  收藏  举报