控制台运行npm install时报错,报错信息如下: 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.
2, re-install the specified node-sass version (the version of the installation failed) run: npm install [email protected]
3, if the installation is unsuccessful, or slow connections are not mounted using a repeat steps 1 and 2 at the Taobao mirror, and then successfully used npm install Taobao Mirror operation: npm config set registry https: //registry.npm. taobao.org