【Ambari编译报错】phantomjs从github上下载失败导致无法编译的问题
[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 karma@2.0.5
[ERROR] npm verb linkBins karma@2.0.5
[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 karma@2.0.5
[ERROR] npm verb rebuildBundles karma@2.0.5
[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 karma@2.0.5
[ERROR] npm info postinstall karma@2.0.5
[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: phantomjs-prebuilt@2.1.16 install: `node install.js`
[ERROR] npm verb stack Exit status 1
[ERROR] npm verb stack at EventEmitter.<ano