1.指定下载地址
npm install node-sass --sass-binary-site=https://npm.taobao.org/mirrors/node-sass
2.npm config
npm config set sass_binary_site https://npm.taobao.org/mirrors/node-sass
3.通过package.json配置
"nodeSassConfig": {
"binarySite": "https://npm.taobao.org/mirrors/node-sass"
}
传送 >> npm设置阿里源