npm ERR! code ELIFECYCLE

npm install时报错:

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/hadoop/.npm/_logs/2019-03-24T05_37_10_542Z-debug.log

解决:
单独安装

npm install [email protected] --ignore-scripts

你可能感兴趣的:(常见错误整理)