直接在当前目录下进行node-sass 的数据源没设置:
npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
报错截图:
再次执行:
npm install