[npminstall:runscript:error] node-sass@^5.0.0 scripts.postinstall run

运行cnpm i 这个报错
[npminstall:runscript:error] node-sass@^5.0.0 scripts.postinstall run
报错图片
直接修改sass安装的源
地址:npm config set sass_binary_site =https://npm.taobao.org/mirrors/node-sass
在这里插入图片描述

再次运行 cnpm i 运行成功
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_55117942/article/details/114269651