最近安装node库经常遇到这种报错:node-sass@4.12.0 postinstall: `node scripts/build.js`
可以设置一下npm淘宝镜像,然后用cnpm来重新安装库
npm install -g cnpm --registry=https://registry.npm.taobao.org
最近安装node库经常遇到这种报错:node-sass@4.12.0 postinstall: `node scripts/build.js`
可以设置一下npm淘宝镜像,然后用cnpm来重新安装库
npm install -g cnpm --registry=https://registry.npm.taobao.org