[Vue] npm install 如果安装node-sass失败,可以用如下方法解决

在项目根目录添加一个.npmrc文件

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

将安装路径修改为淘宝镜像

然后执行命令:

npm install

原文地址:https://www.cnblogs.com/frost-yen/p/13019863.html