PhantomJS 下载失败问题
1. 错误分析
下面是完整的报错日志:
[ERROR] npm verb unsafe-perm in lifecycle true
[ERROR] npm verb unlock done using /root/.npm/_locks/phantomjs-ca2567298810d09d.lock for /opt/modules/ambari/ambari-admin/src/main/resources/ui/admin-web/node_modules/phantomjs
[ERROR] npm verb unlock done using /root/.npm/_locks/core-js-29b3f75c7b038ece.lock for /opt/modules/ambari/ambari-admin/src/main/resources/ui/admin-web/node_modules/karma/node_modules/core-js
[ERROR] npm verb about to build /opt/modules/ambari/ambari-admin/src/main/resources/ui/admin-web/node_modules/karma
[ERROR] npm info build /opt/modules/ambari/ambari-admin/src/main/resources/ui/admin-web/node_modules/karma
[ERROR] npm info linkStuff [email protected]
[ERROR] npm verb linkBins [email protected]
[ERROR] npm verb link bins [ {
karma: './bin/karma' },
[ERROR] npm verb link bins '/opt/modules/ambari/ambari-admin/src/main/resources/ui/admin-web/node_modules/.bin',
[ERROR] npm verb link bins false ]
[ERROR] npm verb linkMans [email protected]
[ERROR] npm verb rebuildBundles [email protected]
[ERROR] npm verb gentlyRm don't care about contents; nuking /opt/modules/ambari/ambari-admin/src/main/resources/ui/admin-web/node_modules/.bin/karma
[ERROR] npm verb rebuildBundles [ '.bin',
[ERROR] npm verb rebuildBundles 'bluebird',
[ERROR] npm verb rebuildBundles 'body-parser',
[ERROR] npm verb rebuildBundles 'chokidar',
[ERROR] npm verb rebuildBundles 'colors',
[ERROR] npm verb rebuildBundles 'combine-lists',
[ERROR] npm verb rebuildBundles 'connect',
[ERROR] npm verb rebuildBundles 'core-js',
[ERROR] npm verb rebuildBundles 'di',
[ERROR] npm verb rebuildBundles 'dom-serialize',
[ERROR] npm verb rebuildBundles 'expand-braces',
[ERROR] npm verb rebuildBundles 'glob',
[ERROR] npm verb rebuildBundles 'graceful-fs',
[ERROR] npm verb rebuildBundles 'http-proxy',
[ERROR] npm verb rebuildBundles 'isbinaryfile',
[ERROR] npm verb rebuildBundles 'lodash',
[ERROR] npm verb rebuildBundles 'log4js',
[ERROR] npm verb rebuildBundles 'mime',
[ERROR] npm verb rebuildBundles 'minimatch',
[ERROR] npm verb rebuildBundles 'optimist',
[ERROR] npm verb rebuildBundles 'qjobs',
[ERROR] npm verb rebuildBundles 'range-parser',
[ERROR] npm verb rebuildBundles 'rimraf',
[ERROR] npm verb rebuildBundles 'safe-buffer',
[ERROR] npm verb rebuildBundles 'socket.io',
[ERROR] npm verb rebuildBundles 'source-map',
[ERROR] npm verb rebuildBundles 'tmp',
[ERROR] npm verb rebuildBundles 'useragent' ]
[ERROR] npm info install [email protected]
[ERROR] npm info postinstall [email protected]
[ERROR] npm verb unlock done using /root/.npm/_locks/karma-f241847ca8dea731.lock for /opt/modules/ambari/ambari-admin/src/main/resources/ui/admin-web/node_modules/karma
[ERROR] npm verb stack Error: [email protected] install: `node install.js`
[ERROR] npm verb stack Exit status 1
[ERROR] npm verb stack at EventEmitter.<ano
标签:npm,github,ambari,modules,编译,rebuildBundles,verb,报错,ERROR
From: https://blog.csdn.net/TTBIGDATA/article/details/143205446