vue安装node-sass报:Failed at the node-sass@4.13.1 postinstall script.
原因:node-sass数据源的问题:
解决方法:
1.设置数据源
npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass
2.安装淘宝镜像
npm install --registry=https://registry.npm.taobao.org
3.重新安装node-sass
npm install node-sass
安装指定版本参考://www.greatytc.com/p/217af144802f
4.重新启动
npm run dev