Skip to content

Instantly share code, notes, and snippets.

@alifgithub
alifgithub / gist:1dc2de838c2da5e4998ac52604523a7f
Created February 25, 2019 04:28
To many npm WARN deprecated, npm can not install well...
[INFO] Running 'npm install' in /root/metron/metron-interface/metron-config
[WARNING] npm WARN deprecated angular-cli@1.0.0-beta.15: angular-cli has been renamed to @angular/cli. Please update your dependencies.
[WARNING] npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
[WARNING] npm WARN deprecated cryptiles@2.0.5: This version is no longer maintained. Please upgrade to the latest version.
[WARNING] npm WARN deprecated hoek@2.16.3: This version is no longer maintained. Please upgrade to the latest version.
[WARNING] npm WARN deprecated boom@2.10.1: This version is no longer maintained. Please upgrade to the latest version.
[WARNING] npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
[WARNING] npm WARN deprecated bower@1.8.8: We don't recommend using Bower for new projects. Please consider Yarn and Webpack or Parcel. You can read how to migrate legacy proj
@alifgithub
alifgithub / gist:3bbffd21bc6dd07143851d86c6416a91
Created February 21, 2019 06:36
(BUILD FAILURE) mvn clean package -DskipTests -T 2C -P HDP-2.5.0.0,mpack
[ERROR]
[ERROR] npm ERR! Linux 2.6.32-754.10.1.el6.x86_64
[ERROR] npm ERR! argv "/root/metron/metron-interface/metron-config/node/node" "/root/metron/metron-interface/metron-config/node/node_modules/npm/bin/npm-cli.js" "run" "build"
[ERROR] npm ERR! node v6.2.0
[ERROR] npm ERR! npm v3.8.9
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! metron-management-ui@0.4.0 build: `./node_modules/angular-cli/bin/ng build -prod`
[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the metron-management-ui@0.4.0 build script './node_modules/angular-cli/bin/ng build -prod'.
@alifgithub
alifgithub / stderr: errors-710.txt
Last active February 21, 2019 04:37
Failed to install package metron-common, Error: Nothing to do
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/METRON/0.4.0/package/scripts/enrichment_master.py", line 113, in <module>
Enrichment().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 280, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/METRON/0.4.0/package/scripts/enrichment_master.py", line 33, in install
self.install_packages(env)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 567, in install_packages
retry_count=agent_stack_retry_count)
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__