运行npm install报以下错误
npm ERR! node-sass@4.14.1 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.14.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
在项目里也找不到sass,还有node-sass里面没有文件
解决方法:设置node-sass 的数据源
npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass
然后再用淘宝镜像安装依赖:
npm install --registry=https://registry.npm.taobao.org