如何解决由于在 RHEL 7 上预构建了 phantom JS,npm 安装失败
我正在尝试在 RHEL 7 机器上的 Node JS 项目上执行 npm install,当我尝试执行 npm install 时,它给了我错误:针对此类问题的任何建议,我看到很多人都遇到过这个问题,但我还没有得到任何解决。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! phantomjs-prebuilt@2.1.16 install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the phantomjs-prebuilt@2.1.16 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。