You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@metron.apache.org by Shane Ardell <sa...@apache.org> on 2018/11/30 14:36:34 UTC
When you run a build with maven, the versions of npm and node are specified in each interface's pom.xml. As of the latest release, both the Alerts UI and Management UI use npm 9.11.1 and node 6.2.0. It looks like you used node 6.14.3 and npm 3.10.10 here. Not using the versions specified in Metron can cause headaches for a few reasons
1. Older versions of npm use a different tree structure for dependencies.
2. Versions of npm under 5.7.1 do not include the `npm ci` command.
3. The latest release from node often takes time for npm to support.
Even when you're using a matching version of npm and node, if you run `npm install`, npm will ignore the package lock file and install according to what's listed in package.json, which can lead to version mismatches, missing dependencies, etc.
Is this log from when you manually ran `npm install`? Can you share part of the maven build log where the metron-config failure happens?
On 2018/11/30 11:45:50, Farrukh Naveed Anjum <an...@gmail.com> wrote:
> I tried hard to run the
> mvn clean package -DskipTests -T 2C -P HDP-2.5.0.0,mpack
>
> but metron-config failed, after reading the comments from one post i tried
> to run npm install (in metron-config) folder. But it again failed with
> following errors.
>
> npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
> npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or
> higher to avoid a RegExp DoS issue
> npm WARN lifecycle metron-management-ui@0.6.0~postinstall: cannot run in wd
> %s %s (wd=%s) metron-management-ui@0.6.0 npm run copy-ace & npm run
> copy-ace-snippets /root/metron/metron-interface/metron-config
> metron-management-ui@0.6.0 /root/metron/metron-interface/metron-config
> ├── UNMET PEER DEPENDENCY @angular/common@2.0.0
> ├── UNMET PEER DEPENDENCY @angular/compiler@2.0.0
> ├── UNMET PEER DEPENDENCY @angular/core@2.0.0
> ├── UNMET PEER DEPENDENCY @angular/platform-browser@2.0.0
> └─┬ angular-cli@1.0.0-beta.15
> ├─┬ @angular-cli/ast-tools@1.0.16
> │ └── @angular/tsc-wrapped@0.5.2
> ├── UNMET PEER DEPENDENCY @angular/platform-server@2.4.10
> ├─┬ ember-cli@2.5.0
> │ ├─┬ broccoli-babel-transpiler@5.7.4
> │ │ ├─┬ babel-core@5.8.38
> │ │ │ ├── babel-plugin-constant-folding@1.0.1
> │ │ │ ├── babel-plugin-dead-code-elimination@1.0.2
> │ │ │ ├── babel-plugin-eval@1.0.1
> │ │ │ ├── babel-plugin-inline-environment-variables@1.0.1
> │ │ │ ├── babel-plugin-jscript@1.0.4
> │ │ │ ├── babel-plugin-member-expression-literals@1.0.1
> │ │ │ ├── babel-plugin-property-literals@1.0.1
> │ │ │ ├─┬ babel-plugin-proto-to-assign@1.0.4
> │ │ │ │ └── lodash@3.10.1
> │ │ │ ├── babel-plugin-react-constant-elements@1.0.3
> │ │ │ ├── babel-plugin-react-display-name@1.0.3
> │ │ │ ├── babel-plugin-remove-console@1.0.1
> │ │ │ ├── babel-plugin-remove-debugger@1.0.1
> │ │ │ ├── babel-plugin-runtime@1.0.7
> │ │ │ ├─┬ babel-plugin-undeclared-variables-check@1.0.2
> │ │ │ │ └── leven@1.0.2
> │ │ │ ├── babel-plugin-undefined-to-void@1.1.6
> │ │ │ ├── babylon@5.8.38
> │ │ │ ├── convert-source-map@1.6.0
> │ │ │ ├── core-js@1.2.7
> │ │ │ ├── detect-indent@3.0.1
> │ │ │ ├── fs-readdir-recursive@0.1.2
> │ │ │ ├── globals@6.4.1
> │ │ │ ├─┬ home-or-tmp@1.0.0
> │ │ │ │ └── user-home@1.1.1
> │ │ │ ├── is-integer@1.0.7
> │ │ │ ├── js-tokens@1.0.1
> │ │ │ ├── json5@0.4.0
> │ │ │ ├── lodash@3.10.1
> │ │ │ ├── minimatch@2.0.10
> │ │ │ ├─┬ output-file-sync@1.1.2
> │ │ │ │ └── graceful-fs@4.1.15
> │ │ │ ├── path-exists@1.0.0
> │ │ │ ├─┬ regenerator@0.8.40
> │ │ │ │ ├─┬ commoner@0.10.8
> │ │ │ │ │ ├─┬ detective@4.7.1
> │ │ │ │ │ │ └── acorn@5.7.3
> │ │ │ │ │ ├── glob@5.0.15
> │ │ │ │ │ ├── graceful-fs@4.1.15
> │ │ │ │ │ ├── iconv-lite@0.4.24
> │ │ │ │ │ └─┬ recast@0.11.23
> │ │ │ │ │ ├── esprima@3.1.3
> │ │ │ │ │ └── source-map@0.5.7
> │ │ │ │ ├─┬ defs@1.1.1
> │ │ │ │ │ ├─┬ alter@0.2.0
> │ │ │ │ │ │ └── stable@0.1.8
> │ │ │ │ │ ├── ast-traverse@0.1.1
> │ │ │ │ │ ├── breakable@1.0.0
> │ │ │ │ │ ├── esprima-fb@15001.1001.0-dev-harmony-fb
> │ │ │ │ │ ├── simple-fmt@0.1.0
> │ │ │ │ │ ├── simple-is@0.2.0
> │ │ │ │ │ ├── stringmap@0.2.2
> │ │ │ │ │ ├── stringset@0.2.1
> │ │ │ │ │ ├── tryor@0.1.2
> │ │ │ │ │ └─┬ yargs@3.27.0
> │ │ │ │ │ └── window-size@0.1.4
> │ │ │ │ ├── esprima-fb@15001.1001.0-dev-harmony-fb
> │ │ │ │ └─┬ recast@0.10.33
> │ │ │ │ ├── ast-types@0.8.12
> │ │ │ │ ├── esprima-fb@15001.1001.0-dev-harmony-fb
> │ │ │ │ └── source-map@0.5.7
> │ │ │ ├── regexpu@1.3.0
> │ │ │ ├── repeating@1.1.3
> │ │ │ ├── slash@1.0.0
> │ │ │ ├── source-map@0.5.7
> │ │ │ ├─┬ source-map-support@0.2.10
> │ │ │ │ └── source-map@0.1.32
> │ │ │ ├── to-fast-properties@1.0.3
> │ │ │ ├── trim-right@1.0.1
> │ │ │ └── try-resolve@1.0.1
> │ │ ├─┬ broccoli-persistent-filter@1.4.3
> │ │ │ ├─┬ async-disk-cache@1.3.3
> │ │ │ │ ├─┬ heimdalljs@0.2.6
> │ │ │ │ │ └── rsvp@3.2.1
> │ │ │ │ ├─┬ istextorbinary@2.1.0
> │ │ │ │ │ ├── binaryextensions@2.1.2
> │ │ │ │ │ ├── editions@1.3.4
> │ │ │ │ │ └── textextensions@2.4.0
> │ │ │ │ └── username-sync@1.0.1
> │ │ │ ├─┬ async-promise-queue@1.0.4
> │ │ │ │ └── async@2.6.1
> │ │ │ ├── fs-tree-diff@0.5.9
> │ │ │ ├─┬ heimdalljs@0.2.6
> │ │ │ │ └── rsvp@3.2.1
> │ │ │ └── walk-sync@0.3.3
> │ │ ├─┬ hash-for-dep@1.2.3
> │ │ │ └─┬ heimdalljs@0.2.6
> │ │ │ └── rsvp@3.2.1
> │ │ └─┬ heimdalljs-logger@0.1.10
> │ │ └─┬ heimdalljs@0.2.6
> │ │ └── rsvp@3.2.1
> │ ├─┬ broccoli-concat@2.3.8
> │ │ ├─┬ broccoli-stew@1.6.0
> │ │ │ ├─┬ broccoli-debug@0.6.5
> │ │ │ │ ├── fs-tree-diff@0.5.9
> │ │ │ │ └─┬ heimdalljs@0.2.6
> │ │ │ │ └── rsvp@3.2.1
> │ │ │ ├─┬ broccoli-funnel@2.0.1
> │ │ │ │ ├── debug@2.6.9
> │ │ │ │ ├── fs-tree-diff@0.5.9
> │ │ │ │ └─┬ heimdalljs@0.2.6
> │ │ │ │ └── rsvp@3.2.1
> │ │ │ ├─┬ broccoli-merge-trees@2.0.1
> │ │ │ │ └─┬ merge-trees@1.0.1
> │ │ │ │ ├── fs-tree-diff@0.5.9
> │ │ │ │ └─┬ heimdalljs@0.2.6
> │ │ │ │ └── rsvp@3.2.1
> │ │ │ ├─┬ chalk@2.4.1
> │ │ │ │ ├── ansi-styles@3.2.1
> │ │ │ │ └─┬ supports-color@5.5.0
> │ │ │ │ └── has-flag@3.0.0
> │ │ │ ├─┬ debug@3.2.6
> │ │ │ │ └── ms@2.1.1
> │ │ │ ├─┬ fs-extra@5.0.0
> │ │ │ │ ├── graceful-fs@4.1.15
> │ │ │ │ ├── jsonfile@4.0.0
> │ │ │ │ └── universalify@0.1.2
> │ │ │ ├── rsvp@4.8.4
> │ │ │ └── walk-sync@0.3.3
> │ │ └─┬ fast-sourcemap-concat@1.4.0
> │ │ ├─┬ chalk@2.4.1
> │ │ │ ├── ansi-styles@3.2.1
> │ │ │ └─┬ supports-color@5.5.0
> │ │ │ └── has-flag@3.0.0
> │ │ ├─┬ fs-extra@5.0.0
> │ │ │ ├── graceful-fs@4.1.15
> │ │ │ └── jsonfile@4.0.0
> │ │ ├─┬ memory-streams@0.1.3
> │ │ │ └─┬ readable-stream@1.0.34
> │ │ │ ├── isarray@0.0.1
> │ │ │ └── string_decoder@0.10.31
> │ │ ├── source-map-url@0.3.0
> │ │ └─┬ sourcemap-validator@1.1.0
> │ │ ├── jsesc@0.3.0
> │ │ ├─┬ lodash.foreach@2.3.0
> │ │ │ ├─┬ lodash._basecreatecallback@2.3.0
> │ │ │ │ ├─┬ lodash._setbinddata@2.3.0
> │ │ │ │ │ └── lodash.noop@2.3.0
> │ │ │ │ ├─┬ lodash.bind@2.3.0
> │ │ │ │ │ ├─┬ lodash._createwrapper@2.3.0
> │ │ │ │ │ │ ├─┬ lodash._basebind@2.3.0
> │ │ │ │ │ │ │ └── lodash._basecreate@2.3.0
> │ │ │ │ │ │ ├── lodash._basecreatewrapper@2.3.0
> │ │ │ │ │ │ └── lodash.isfunction@2.3.0
> │ │ │ │ │ └── lodash._slice@2.3.0
> │ │ │ │ ├── lodash.identity@2.3.0
> │ │ │ │ └── lodash.support@2.3.0
> │ │ │ └─┬ lodash.forown@2.3.0
> │ │ │ └── lodash._objecttypes@2.3.0
> │ │ ├─┬ lodash.template@2.3.0
> │ │ │ ├── lodash._escapestringchar@2.3.0
> │ │ │ ├── lodash._reinterpolate@2.3.0
> │ │ │ ├── lodash.defaults@2.3.0
> │ │ │ ├─┬ lodash.escape@2.3.0
> │ │ │ │ ├─┬ lodash._escapehtmlchar@2.3.0
> │ │ │ │ │ └── lodash._htmlescapes@2.3.0
> │ │ │ │ └── lodash._reunescapedhtml@2.3.0
> │ │ │ ├─┬ lodash.keys@2.3.0
> │ │ │ │ ├── lodash._renative@2.3.0
> │ │ │ │ ├── lodash._shimkeys@2.3.0
> │ │ │ │ └── lodash.isobject@2.3.0
> │ │ │ ├── lodash.templatesettings@2.3.0
> │ │ │ └── lodash.values@2.3.0
> │ │ └── source-map@0.1.43
> │ ├─┬ broccoli-config-replace@1.1.2
> │ │ └─┬ fs-extra@0.24.0
> │ │ └── graceful-fs@4.1.15
> │ ├─┬ broccoli-funnel@1.2.0
> │ │ └─┬ heimdalljs@0.2.6
> │ │ └── rsvp@3.2.1
> │ ├─┬ broccoli-merge-trees@1.2.4
> │ │ └─┬ heimdalljs@0.2.6
> │ │ └── rsvp@3.2.1
> │ ├─┬ ember-cli-broccoli@0.16.9
> │ │ └─┬ broccoli-kitchen-sink-helpers@0.2.9
> │ │ └── glob@5.0.15
> │ ├─┬ ember-cli-preprocess-registry@2.0.0
> │ │ └─┬ broccoli-clean-css@1.1.0
> │ │ └─┬ clean-css-promise@0.1.1
> │ │ ├─┬ array-to-error@1.1.1
> │ │ │ └── array-to-sentence@1.1.0
> │ │ └─┬ clean-css@3.4.28
> │ │ └─┬ commander@2.8.1
> │ │ └── graceful-readlink@1.0.1
> │ ├─┬ express@4.16.3
> │ │ └─┬ send@0.16.2
> │ │ ├── destroy@1.0.4
> │ │ ├── mime@1.4.1
> │ │ └── statuses@1.4.0
> │ ├─┬ findup@0.1.5
> │ │ └── commander@2.1.0
> │ ├─┬ inquirer@0.12.0
> │ │ └─┬ cli-cursor@1.0.2
> │ │ └─┬ restore-cursor@1.0.1
> │ │ ├── exit-hook@1.1.1
> │ │ └── onetime@1.1.0
> │ ├─┬ markdown-it@4.3.0
> │ │ └── mdurl@1.0.1
> │ ├─┬ markdown-it-terminal@0.0.3
> │ │ └─┬ markdown-it@4.4.0
> │ │ └── mdurl@1.0.1
> │ ├── node-uuid@1.4.8
> │ ├─┬ readline2@0.1.1
> │ │ ├── mute-stream@0.0.4
> │ │ └─┬ strip-ansi@2.0.1
> │ │ └── ansi-regex@1.1.1
> │ ├─┬ sane@1.7.0
> │ │ ├─┬ exec-sh@0.2.2
> │ │ │ └── merge@1.2.1
> │ │ ├─┬ fb-watchman@2.0.0
> │ │ │ └─┬ bser@2.0.0
> │ │ │ └── node-int64@0.4.0
> │ │ ├─┬ walker@1.0.7
> │ │ │ └─┬ makeerror@1.0.11
> │ │ │ └── tmpl@1.0.4
> │ │ └── watch@0.10.0
> │ ├─┬ testem@1.18.5
> │ │ ├─┬ backbone@1.3.3
> │ │ │ └── underscore@1.9.1
> │ │ ├─┬ consolidate@0.14.5
> │ │ │ └── bluebird@3.5.3
> │ │ ├─┬ fireworm@0.7.1
> │ │ │ └─┬ lodash.flatten@3.0.2
> │ │ │ └── lodash._baseflatten@3.1.4
> │ │ ├─┬ node-notifier@5.2.1
> │ │ │ ├── growly@1.3.0
> │ │ │ └── shellwords@0.1.1
> │ │ └─┬ socket.io@1.6.0
> │ │ ├─┬ debug@2.3.3
> │ │ │ └── ms@0.7.2
> │ │ ├─┬ engine.io@1.8.0
> │ │ │ ├── accepts@1.3.3
> │ │ │ ├─┬ debug@2.3.3
> │ │ │ │ └── ms@0.7.2
> │ │ │ └─┬ engine.io-parser@1.3.1
> │ │ │ ├── base64-arraybuffer@0.1.5
> │ │ │ ├─┬ has-binary@0.1.6
> │ │ │ │ └── isarray@0.0.1
> │ │ │ └── wtf-8@1.0.0
> │ │ ├── object-assign@4.1.0
> │ │ ├─┬ socket.io-adapter@0.5.0
> │ │ │ └─┬ debug@2.3.3
> │ │ │ └── ms@0.7.2
> │ │ ├─┬ socket.io-client@1.6.0
> │ │ │ ├── component-emitter@1.2.1
> │ │ │ ├─┬ debug@2.3.3
> │ │ │ │ └── ms@0.7.2
> │ │ │ ├─┬ engine.io-client@1.8.0
> │ │ │ │ ├── component-emitter@1.2.1
> │ │ │ │ ├─┬ debug@2.3.3
> │ │ │ │ │ └── ms@0.7.2
> │ │ │ │ ├── parsejson@0.0.3
> │ │ │ │ ├── parseqs@0.0.5
> │ │ │ │ └── xmlhttprequest-ssl@1.5.3
> │ │ │ └── parseuri@0.0.5
> │ │ └─┬ socket.io-parser@2.3.1
> │ │ ├─┬ debug@2.2.0
> │ │ │ └── ms@0.7.1
> │ │ └── isarray@0.0.1
> │ ├─┬ tiny-lr@0.2.1
> │ │ └─┬ body-parser@1.14.2
> │ │ └─┬ raw-body@2.1.7
> │ │ └── bytes@2.4.0
> │ └─┬ yam@0.0.18
> │ └─┬ fs-extra@0.16.5
> │ └─┬ graceful-fs@3.0.11
> │ └── natives@1.1.6
> ├─┬ node-sass@3.13.1
> │ ├─┬ gaze@1.1.3
> │ │ └── globule@1.2.1
> │ └─┬ npmlog@4.1.2
> │ └─┬ are-we-there-yet@1.1.5
> │ └── delegates@1.0.0
> ├─┬ UNMET PEER DEPENDENCY webpack@2.1.0-beta.22
> │ └─┬ watchpack@1.6.0
> │ └─┬ chokidar@2.0.4
> │ ├─┬ anymatch@2.0.0
> │ │ └─┬ micromatch@3.1.10
> │ │ └─┬ regex-not@1.0.2
> │ │ └── safe-regex@1.1.0
> │ └─┬ braces@2.3.2
> │ ├─┬ snapdragon@0.8.2
> │ │ ├─┬ base@0.11.2
> │ │ │ ├─┬ cache-base@1.0.1
> │ │ │ │ ├─┬ collection-visit@1.0.0
> │ │ │ │ │ ├── map-visit@1.0.0
> │ │ │ │ │ └─┬ object-visit@1.0.1
> │ │ │ │ │ └── isobject@3.0.1
> │ │ │ │ ├── component-emitter@1.2.1
> │ │ │ │ ├── get-value@2.0.6
> │ │ │ │ ├─┬ has-value@1.0.0
> │ │ │ │ │ ├─┬ has-values@1.0.0
> │ │ │ │ │ │ ├─┬ is-number@3.0.0
> │ │ │ │ │ │ │ └── kind-of@3.2.2
> │ │ │ │ │ │ └── kind-of@4.0.0
> │ │ │ │ │ └── isobject@3.0.1
> │ │ │ │ ├── isobject@3.0.1
> │ │ │ │ ├─┬ set-value@2.0.0
> │ │ │ │ │ └── extend-shallow@2.0.1
> │ │ │ │ ├─┬ union-value@1.0.0
> │ │ │ │ │ └─┬ set-value@0.4.3
> │ │ │ │ │ └── extend-shallow@2.0.1
> │ │ │ │ └─┬ unset-value@1.0.0
> │ │ │ │ ├─┬ has-value@0.3.1
> │ │ │ │ │ ├── has-values@0.1.4
> │ │ │ │ │ └── isobject@2.1.0
> │ │ │ │ └── isobject@3.0.1
> │ │ │ └─┬ class-utils@0.3.6
> │ │ │ ├── define-property@0.2.5
> │ │ │ ├── isobject@3.0.1
> │ │ │ └─┬ static-extend@0.1.2
> │ │ │ ├── define-property@0.2.5
> │ │ │ └─┬ object-copy@0.1.0
> │ │ │ ├── copy-descriptor@0.1.1
> │ │ │ └── define-property@0.2.5
> │ │ └─┬ source-map-resolve@0.5.2
> │ │ ├── atob@2.1.2
> │ │ ├── decode-uri-component@0.2.0
> │ │ ├── resolve-url@0.2.1
> │ │ ├── source-map-url@0.4.0
> │ │ └── urix@0.1.0
> │ └─┬ to-regex@3.0.2
> │ └─┬ safe-regex@1.1.0
> │ └── ret@0.1.15
> └─┬ webpack-dev-server@2.1.0-beta.3
> ├─┬ sockjs-client@1.1.5
> │ ├─┬ eventsource@0.1.6
> │ │ └── original@1.0.2
> │ ├── faye-websocket@0.11.1
> │ ├── json3@3.3.2
> │ └─┬ url-parse@1.4.4
> │ └── querystringify@2.1.0
> ├── stream-cache@0.0.2
> └── UNMET PEER DEPENDENCY webpack@^1.0.0 || ^2.0.0 || ^3.0.0
>
> npm WARN enoent ENOENT: no such file or directory, open
> '/root/metron/metron-interface/metron-config/node_modules/broccoli-stew/package.json'
> npm WARN enoent ENOENT: no such file or directory, open
> '/root/metron/metron-interface/metron-config/node_modules/heimdalljs/package.json'
> npm WARN enoent ENOENT: no such file or directory, open
> '/root/metron/metron-interface/metron-config/node_modules/mdurl/package.json'
> npm WARN enoent ENOENT: no such file or directory, open
> '/root/metron/metron-interface/metron-config/node_modules/safe-regex/package.json'
> npm WARN enoent ENOENT: no such file or directory, open
> '/root/metron/metron-interface/metron-config/node_modules/stream-cache/package.json'
> npm WARN @angular/compiler-cli@0.6.4 requires a peer of
> @angular/compiler@2.0.2 but none was installed.
> npm WARN @angular/compiler-cli@0.6.4 requires a peer of
> @angular/platform-server@2.0.2 but none was installed.
> npm WARN @angular/compiler-cli@0.6.4 requires a peer of @angular/core@2.0.2
> but none was installed.
> npm WARN @angular/platform-server@2.4.10 requires a peer of
> @angular/core@2.4.10 but none was installed.
> npm WARN @angular/platform-server@2.4.10 requires a peer of
> @angular/common@2.4.10 but none was installed.
> npm WARN @angular/platform-server@2.4.10 requires a peer of
> @angular/compiler@2.4.10 but none was installed.
> npm WARN @angular/platform-server@2.4.10 requires a peer of
> @angular/platform-browser@2.4.10 but none was installed.
> npm WARN expose-loader@0.7.5 requires a peer of webpack@^2.0.0 || ^3.0.0 ||
> ^4.0.0 but none was installed.
> npm WARN string-replace-loader@1.3.0 requires a peer of webpack@1 || 2 || 3
> but none was installed.
> npm WARN webpack-dev-middleware@1.12.2 requires a peer of webpack@^1.0.0 ||
> ^2.0.0 || ^3.0.0 but none was installed.
> [root@ctg1 metron-config]# npm install angular
> - @angular/tsc-wrapped@0.5.2
> node_modules/@angular-cli/ast-tools/node_modules/@angular/tsc-wrapped
> metron-management-ui@0.6.0 /root/metron/metron-interface/metron-config
> ├── UNMET PEER DEPENDENCY @angular/common@2.0.0
> ├── UNMET PEER DEPENDENCY @angular/compiler@2.0.0
> ├── UNMET PEER DEPENDENCY @angular/core@2.0.0
> ├── UNMET PEER DEPENDENCY @angular/platform-browser@2.0.0
> └── angular@1.7.5
>
> npm WARN enoent ENOENT: no such file or directory, open
> '/root/metron/metron-interface/metron-config/node_modules/broccoli-stew/package.json'
> npm WARN enoent ENOENT: no such file or directory, open
> '/root/metron/metron-interface/metron-config/node_modules/heimdalljs/package.json'
> npm WARN enoent ENOENT: no such file or directory, open
> '/root/metron/metron-interface/metron-config/node_modules/mdurl/package.json'
> npm WARN enoent ENOENT: no such file or directory, open
> '/root/metron/metron-interface/metron-config/node_modules/safe-regex/package.json'
> npm WARN enoent ENOENT: no such file or directory, open
> '/root/metron/metron-interface/metron-config/node_modules/stream-cache/package.json'
> npm WARN @angular/compiler-cli@0.6.4 requires a peer of
> @angular/compiler@2.0.2 but none was installed.
> npm WARN @angular/compiler-cli@0.6.4 requires a peer of
> @angular/platform-server@2.0.2 but none was installed.
> npm WARN @angular/compiler-cli@0.6.4 requires a peer of @angular/core@2.0.2
> but none was installed.
> npm WARN @angular/platform-server@2.4.10 requires a peer of
> @angular/core@2.4.10 but none was installed.
> npm WARN @angular/platform-server@2.4.10 requires a peer of
> @angular/common@2.4.10 but none was installed.
> npm WARN @angular/platform-server@2.4.10 requires a peer of
> @angular/compiler@2.4.10 but none was installed.
> npm WARN @angular/platform-server@2.4.10 requires a peer of
> @angular/platform-browser@2.4.10 but none was installed.
> npm WARN expose-loader@0.7.5 requires a peer of webpack@^2.0.0 || ^3.0.0 ||
> ^4.0.0 but none was installed.
> npm WARN string-replace-loader@1.3.0 requires a peer of webpack@1 || 2 || 3
> but none was installed.
> npm WARN webpack-dev-middleware@1.12.2 requires a peer of webpack@^1.0.0 ||
> ^2.0.0 || ^3.0.0 but none was installed.
> [root@ctg1 metron-config]# @angular/common@2.0.0
> -bash: @angular/common@2.0.0: No such file or directory
> [root@ctg1 metron-config]# npm install angular/common@2.0.0
> npm ERR! addLocal Could not install
> /root/metron/metron-interface/metron-config/angular/common@2.0.0
> npm ERR! Linux 3.10.0-693.el7.x86_64
> npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "angular/common@2.0.0
> "
> npm ERR! node v6.14.3
> npm ERR! npm v3.10.10
> npm ERR! path
> /root/metron/metron-interface/metron-config/angular/common@2.0.0
> npm ERR! code ENOENT
> npm ERR! errno -2
> npm ERR! syscall open
>
> npm ERR! enoent ENOENT: no such file or directory, open
> '/root/metron/metron-interface/metron-config/angular/common@2.0.0'
> npm ERR! enoent ENOENT: no such file or directory, open
> '/root/metron/metron-interface/metron-config/angular/common@2.0.0'
> npm ERR! enoent This is most likely not a problem with npm itself
> npm ERR! enoent and is related to npm not being able to find a file.
> npm ERR! enoent
>
> npm ERR! Please include the following file with any support request:
> npm ERR! /root/metron/metron-interface/metron-config/npm-debug.log
>
> --
> With Regards
> Farrukh Naveed Anjum
>
Posted by Shane Ardell <sa...@apache.org>.
To correct myself in the last reply, the current release of Metron uses node 9.11.1 and npm 6.2.0. Sorry about the confusion.
On 2018/11/30 14:36:34, Shane Ardell <sa...@apache.org> wrote:
> When you run a build with maven, the versions of npm and node are specified in each interface's pom.xml. As of the latest release, both the Alerts UI and Management UI use npm 9.11.1 and node 6.2.0. It looks like you used node 6.14.3 and npm 3.10.10 here. Not using the versions specified in Metron can cause headaches for a few reasons
>
> 1. Older versions of npm use a different tree structure for dependencies.
> 2. Versions of npm under 5.7.1 do not include the `npm ci` command.
> 3. The latest release from node often takes time for npm to support.
>
> Even when you're using a matching version of npm and node, if you run `npm install`, npm will ignore the package lock file and install according to what's listed in package.json, which can lead to version mismatches, missing dependencies, etc.
>
> Is this log from when you manually ran `npm install`? Can you share part of the maven build log where the metron-config failure happens?
>
> On 2018/11/30 11:45:50, Farrukh Naveed Anjum <an...@gmail.com> wrote:
> > I tried hard to run the
> > mvn clean package -DskipTests -T 2C -P HDP-2.5.0.0,mpack
> >
> > but metron-config failed, after reading the comments from one post i tried
> > to run npm install (in metron-config) folder. But it again failed with
> > following errors.
> >
> > npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
> > npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or
> > higher to avoid a RegExp DoS issue
> > npm WARN lifecycle metron-management-ui@0.6.0~postinstall: cannot run in wd
> > %s %s (wd=%s) metron-management-ui@0.6.0 npm run copy-ace & npm run
> > copy-ace-snippets /root/metron/metron-interface/metron-config
> > metron-management-ui@0.6.0 /root/metron/metron-interface/metron-config
> > ├── UNMET PEER DEPENDENCY @angular/common@2.0.0
> > ├── UNMET PEER DEPENDENCY @angular/compiler@2.0.0
> > ├── UNMET PEER DEPENDENCY @angular/core@2.0.0
> > ├── UNMET PEER DEPENDENCY @angular/platform-browser@2.0.0
> > └─┬ angular-cli@1.0.0-beta.15
> > ├─┬ @angular-cli/ast-tools@1.0.16
> > │ └── @angular/tsc-wrapped@0.5.2
> > ├── UNMET PEER DEPENDENCY @angular/platform-server@2.4.10
> > ├─┬ ember-cli@2.5.0
> > │ ├─┬ broccoli-babel-transpiler@5.7.4
> > │ │ ├─┬ babel-core@5.8.38
> > │ │ │ ├── babel-plugin-constant-folding@1.0.1
> > │ │ │ ├── babel-plugin-dead-code-elimination@1.0.2
> > │ │ │ ├── babel-plugin-eval@1.0.1
> > │ │ │ ├── babel-plugin-inline-environment-variables@1.0.1
> > │ │ │ ├── babel-plugin-jscript@1.0.4
> > │ │ │ ├── babel-plugin-member-expression-literals@1.0.1
> > │ │ │ ├── babel-plugin-property-literals@1.0.1
> > │ │ │ ├─┬ babel-plugin-proto-to-assign@1.0.4
> > │ │ │ │ └── lodash@3.10.1
> > │ │ │ ├── babel-plugin-react-constant-elements@1.0.3
> > │ │ │ ├── babel-plugin-react-display-name@1.0.3
> > │ │ │ ├── babel-plugin-remove-console@1.0.1
> > │ │ │ ├── babel-plugin-remove-debugger@1.0.1
> > │ │ │ ├── babel-plugin-runtime@1.0.7
> > │ │ │ ├─┬ babel-plugin-undeclared-variables-check@1.0.2
> > │ │ │ │ └── leven@1.0.2
> > │ │ │ ├── babel-plugin-undefined-to-void@1.1.6
> > │ │ │ ├── babylon@5.8.38
> > │ │ │ ├── convert-source-map@1.6.0
> > │ │ │ ├── core-js@1.2.7
> > │ │ │ ├── detect-indent@3.0.1
> > │ │ │ ├── fs-readdir-recursive@0.1.2
> > │ │ │ ├── globals@6.4.1
> > │ │ │ ├─┬ home-or-tmp@1.0.0
> > │ │ │ │ └── user-home@1.1.1
> > │ │ │ ├── is-integer@1.0.7
> > │ │ │ ├── js-tokens@1.0.1
> > │ │ │ ├── json5@0.4.0
> > │ │ │ ├── lodash@3.10.1
> > │ │ │ ├── minimatch@2.0.10
> > │ │ │ ├─┬ output-file-sync@1.1.2
> > │ │ │ │ └── graceful-fs@4.1.15
> > │ │ │ ├── path-exists@1.0.0
> > │ │ │ ├─┬ regenerator@0.8.40
> > │ │ │ │ ├─┬ commoner@0.10.8
> > │ │ │ │ │ ├─┬ detective@4.7.1
> > │ │ │ │ │ │ └── acorn@5.7.3
> > │ │ │ │ │ ├── glob@5.0.15
> > │ │ │ │ │ ├── graceful-fs@4.1.15
> > │ │ │ │ │ ├── iconv-lite@0.4.24
> > │ │ │ │ │ └─┬ recast@0.11.23
> > │ │ │ │ │ ├── esprima@3.1.3
> > │ │ │ │ │ └── source-map@0.5.7
> > │ │ │ │ ├─┬ defs@1.1.1
> > │ │ │ │ │ ├─┬ alter@0.2.0
> > │ │ │ │ │ │ └── stable@0.1.8
> > │ │ │ │ │ ├── ast-traverse@0.1.1
> > │ │ │ │ │ ├── breakable@1.0.0
> > │ │ │ │ │ ├── esprima-fb@15001.1001.0-dev-harmony-fb
> > │ │ │ │ │ ├── simple-fmt@0.1.0
> > │ │ │ │ │ ├── simple-is@0.2.0
> > │ │ │ │ │ ├── stringmap@0.2.2
> > │ │ │ │ │ ├── stringset@0.2.1
> > │ │ │ │ │ ├── tryor@0.1.2
> > │ │ │ │ │ └─┬ yargs@3.27.0
> > │ │ │ │ │ └── window-size@0.1.4
> > │ │ │ │ ├── esprima-fb@15001.1001.0-dev-harmony-fb
> > │ │ │ │ └─┬ recast@0.10.33
> > │ │ │ │ ├── ast-types@0.8.12
> > │ │ │ │ ├── esprima-fb@15001.1001.0-dev-harmony-fb
> > │ │ │ │ └── source-map@0.5.7
> > │ │ │ ├── regexpu@1.3.0
> > │ │ │ ├── repeating@1.1.3
> > │ │ │ ├── slash@1.0.0
> > │ │ │ ├── source-map@0.5.7
> > │ │ │ ├─┬ source-map-support@0.2.10
> > │ │ │ │ └── source-map@0.1.32
> > │ │ │ ├── to-fast-properties@1.0.3
> > │ │ │ ├── trim-right@1.0.1
> > │ │ │ └── try-resolve@1.0.1
> > │ │ ├─┬ broccoli-persistent-filter@1.4.3
> > │ │ │ ├─┬ async-disk-cache@1.3.3
> > │ │ │ │ ├─┬ heimdalljs@0.2.6
> > │ │ │ │ │ └── rsvp@3.2.1
> > │ │ │ │ ├─┬ istextorbinary@2.1.0
> > │ │ │ │ │ ├── binaryextensions@2.1.2
> > │ │ │ │ │ ├── editions@1.3.4
> > │ │ │ │ │ └── textextensions@2.4.0
> > │ │ │ │ └── username-sync@1.0.1
> > │ │ │ ├─┬ async-promise-queue@1.0.4
> > │ │ │ │ └── async@2.6.1
> > │ │ │ ├── fs-tree-diff@0.5.9
> > │ │ │ ├─┬ heimdalljs@0.2.6
> > │ │ │ │ └── rsvp@3.2.1
> > │ │ │ └── walk-sync@0.3.3
> > │ │ ├─┬ hash-for-dep@1.2.3
> > │ │ │ └─┬ heimdalljs@0.2.6
> > │ │ │ └── rsvp@3.2.1
> > │ │ └─┬ heimdalljs-logger@0.1.10
> > │ │ └─┬ heimdalljs@0.2.6
> > │ │ └── rsvp@3.2.1
> > │ ├─┬ broccoli-concat@2.3.8
> > │ │ ├─┬ broccoli-stew@1.6.0
> > │ │ │ ├─┬ broccoli-debug@0.6.5
> > │ │ │ │ ├── fs-tree-diff@0.5.9
> > │ │ │ │ └─┬ heimdalljs@0.2.6
> > │ │ │ │ └── rsvp@3.2.1
> > │ │ │ ├─┬ broccoli-funnel@2.0.1
> > │ │ │ │ ├── debug@2.6.9
> > │ │ │ │ ├── fs-tree-diff@0.5.9
> > │ │ │ │ └─┬ heimdalljs@0.2.6
> > │ │ │ │ └── rsvp@3.2.1
> > │ │ │ ├─┬ broccoli-merge-trees@2.0.1
> > │ │ │ │ └─┬ merge-trees@1.0.1
> > │ │ │ │ ├── fs-tree-diff@0.5.9
> > │ │ │ │ └─┬ heimdalljs@0.2.6
> > │ │ │ │ └── rsvp@3.2.1
> > │ │ │ ├─┬ chalk@2.4.1
> > │ │ │ │ ├── ansi-styles@3.2.1
> > │ │ │ │ └─┬ supports-color@5.5.0
> > │ │ │ │ └── has-flag@3.0.0
> > │ │ │ ├─┬ debug@3.2.6
> > │ │ │ │ └── ms@2.1.1
> > │ │ │ ├─┬ fs-extra@5.0.0
> > │ │ │ │ ├── graceful-fs@4.1.15
> > │ │ │ │ ├── jsonfile@4.0.0
> > │ │ │ │ └── universalify@0.1.2
> > │ │ │ ├── rsvp@4.8.4
> > │ │ │ └── walk-sync@0.3.3
> > │ │ └─┬ fast-sourcemap-concat@1.4.0
> > │ │ ├─┬ chalk@2.4.1
> > │ │ │ ├── ansi-styles@3.2.1
> > │ │ │ └─┬ supports-color@5.5.0
> > │ │ │ └── has-flag@3.0.0
> > │ │ ├─┬ fs-extra@5.0.0
> > │ │ │ ├── graceful-fs@4.1.15
> > │ │ │ └── jsonfile@4.0.0
> > │ │ ├─┬ memory-streams@0.1.3
> > │ │ │ └─┬ readable-stream@1.0.34
> > │ │ │ ├── isarray@0.0.1
> > │ │ │ └── string_decoder@0.10.31
> > │ │ ├── source-map-url@0.3.0
> > │ │ └─┬ sourcemap-validator@1.1.0
> > │ │ ├── jsesc@0.3.0
> > │ │ ├─┬ lodash.foreach@2.3.0
> > │ │ │ ├─┬ lodash._basecreatecallback@2.3.0
> > │ │ │ │ ├─┬ lodash._setbinddata@2.3.0
> > │ │ │ │ │ └── lodash.noop@2.3.0
> > │ │ │ │ ├─┬ lodash.bind@2.3.0
> > │ │ │ │ │ ├─┬ lodash._createwrapper@2.3.0
> > │ │ │ │ │ │ ├─┬ lodash._basebind@2.3.0
> > │ │ │ │ │ │ │ └── lodash._basecreate@2.3.0
> > │ │ │ │ │ │ ├── lodash._basecreatewrapper@2.3.0
> > │ │ │ │ │ │ └── lodash.isfunction@2.3.0
> > │ │ │ │ │ └── lodash._slice@2.3.0
> > │ │ │ │ ├── lodash.identity@2.3.0
> > │ │ │ │ └── lodash.support@2.3.0
> > │ │ │ └─┬ lodash.forown@2.3.0
> > │ │ │ └── lodash._objecttypes@2.3.0
> > │ │ ├─┬ lodash.template@2.3.0
> > │ │ │ ├── lodash._escapestringchar@2.3.0
> > │ │ │ ├── lodash._reinterpolate@2.3.0
> > │ │ │ ├── lodash.defaults@2.3.0
> > │ │ │ ├─┬ lodash.escape@2.3.0
> > │ │ │ │ ├─┬ lodash._escapehtmlchar@2.3.0
> > │ │ │ │ │ └── lodash._htmlescapes@2.3.0
> > │ │ │ │ └── lodash._reunescapedhtml@2.3.0
> > │ │ │ ├─┬ lodash.keys@2.3.0
> > │ │ │ │ ├── lodash._renative@2.3.0
> > │ │ │ │ ├── lodash._shimkeys@2.3.0
> > │ │ │ │ └── lodash.isobject@2.3.0
> > │ │ │ ├── lodash.templatesettings@2.3.0
> > │ │ │ └── lodash.values@2.3.0
> > │ │ └── source-map@0.1.43
> > │ ├─┬ broccoli-config-replace@1.1.2
> > │ │ └─┬ fs-extra@0.24.0
> > │ │ └── graceful-fs@4.1.15
> > │ ├─┬ broccoli-funnel@1.2.0
> > │ │ └─┬ heimdalljs@0.2.6
> > │ │ └── rsvp@3.2.1
> > │ ├─┬ broccoli-merge-trees@1.2.4
> > │ │ └─┬ heimdalljs@0.2.6
> > │ │ └── rsvp@3.2.1
> > │ ├─┬ ember-cli-broccoli@0.16.9
> > │ │ └─┬ broccoli-kitchen-sink-helpers@0.2.9
> > │ │ └── glob@5.0.15
> > │ ├─┬ ember-cli-preprocess-registry@2.0.0
> > │ │ └─┬ broccoli-clean-css@1.1.0
> > │ │ └─┬ clean-css-promise@0.1.1
> > │ │ ├─┬ array-to-error@1.1.1
> > │ │ │ └── array-to-sentence@1.1.0
> > │ │ └─┬ clean-css@3.4.28
> > │ │ └─┬ commander@2.8.1
> > │ │ └── graceful-readlink@1.0.1
> > │ ├─┬ express@4.16.3
> > │ │ └─┬ send@0.16.2
> > │ │ ├── destroy@1.0.4
> > │ │ ├── mime@1.4.1
> > │ │ └── statuses@1.4.0
> > │ ├─┬ findup@0.1.5
> > │ │ └── commander@2.1.0
> > │ ├─┬ inquirer@0.12.0
> > │ │ └─┬ cli-cursor@1.0.2
> > │ │ └─┬ restore-cursor@1.0.1
> > │ │ ├── exit-hook@1.1.1
> > │ │ └── onetime@1.1.0
> > │ ├─┬ markdown-it@4.3.0
> > │ │ └── mdurl@1.0.1
> > │ ├─┬ markdown-it-terminal@0.0.3
> > │ │ └─┬ markdown-it@4.4.0
> > │ │ └── mdurl@1.0.1
> > │ ├── node-uuid@1.4.8
> > │ ├─┬ readline2@0.1.1
> > │ │ ├── mute-stream@0.0.4
> > │ │ └─┬ strip-ansi@2.0.1
> > │ │ └── ansi-regex@1.1.1
> > │ ├─┬ sane@1.7.0
> > │ │ ├─┬ exec-sh@0.2.2
> > │ │ │ └── merge@1.2.1
> > │ │ ├─┬ fb-watchman@2.0.0
> > │ │ │ └─┬ bser@2.0.0
> > │ │ │ └── node-int64@0.4.0
> > │ │ ├─┬ walker@1.0.7
> > │ │ │ └─┬ makeerror@1.0.11
> > │ │ │ └── tmpl@1.0.4
> > │ │ └── watch@0.10.0
> > │ ├─┬ testem@1.18.5
> > │ │ ├─┬ backbone@1.3.3
> > │ │ │ └── underscore@1.9.1
> > │ │ ├─┬ consolidate@0.14.5
> > │ │ │ └── bluebird@3.5.3
> > │ │ ├─┬ fireworm@0.7.1
> > │ │ │ └─┬ lodash.flatten@3.0.2
> > │ │ │ └── lodash._baseflatten@3.1.4
> > │ │ ├─┬ node-notifier@5.2.1
> > │ │ │ ├── growly@1.3.0
> > │ │ │ └── shellwords@0.1.1
> > │ │ └─┬ socket.io@1.6.0
> > │ │ ├─┬ debug@2.3.3
> > │ │ │ └── ms@0.7.2
> > │ │ ├─┬ engine.io@1.8.0
> > │ │ │ ├── accepts@1.3.3
> > │ │ │ ├─┬ debug@2.3.3
> > │ │ │ │ └── ms@0.7.2
> > │ │ │ └─┬ engine.io-parser@1.3.1
> > │ │ │ ├── base64-arraybuffer@0.1.5
> > │ │ │ ├─┬ has-binary@0.1.6
> > │ │ │ │ └── isarray@0.0.1
> > │ │ │ └── wtf-8@1.0.0
> > │ │ ├── object-assign@4.1.0
> > │ │ ├─┬ socket.io-adapter@0.5.0
> > │ │ │ └─┬ debug@2.3.3
> > │ │ │ └── ms@0.7.2
> > │ │ ├─┬ socket.io-client@1.6.0
> > │ │ │ ├── component-emitter@1.2.1
> > │ │ │ ├─┬ debug@2.3.3
> > │ │ │ │ └── ms@0.7.2
> > │ │ │ ├─┬ engine.io-client@1.8.0
> > │ │ │ │ ├── component-emitter@1.2.1
> > │ │ │ │ ├─┬ debug@2.3.3
> > │ │ │ │ │ └── ms@0.7.2
> > │ │ │ │ ├── parsejson@0.0.3
> > │ │ │ │ ├── parseqs@0.0.5
> > │ │ │ │ └── xmlhttprequest-ssl@1.5.3
> > │ │ │ └── parseuri@0.0.5
> > │ │ └─┬ socket.io-parser@2.3.1
> > │ │ ├─┬ debug@2.2.0
> > │ │ │ └── ms@0.7.1
> > │ │ └── isarray@0.0.1
> > │ ├─┬ tiny-lr@0.2.1
> > │ │ └─┬ body-parser@1.14.2
> > │ │ └─┬ raw-body@2.1.7
> > │ │ └── bytes@2.4.0
> > │ └─┬ yam@0.0.18
> > │ └─┬ fs-extra@0.16.5
> > │ └─┬ graceful-fs@3.0.11
> > │ └── natives@1.1.6
> > ├─┬ node-sass@3.13.1
> > │ ├─┬ gaze@1.1.3
> > │ │ └── globule@1.2.1
> > │ └─┬ npmlog@4.1.2
> > │ └─┬ are-we-there-yet@1.1.5
> > │ └── delegates@1.0.0
> > ├─┬ UNMET PEER DEPENDENCY webpack@2.1.0-beta.22
> > │ └─┬ watchpack@1.6.0
> > │ └─┬ chokidar@2.0.4
> > │ ├─┬ anymatch@2.0.0
> > │ │ └─┬ micromatch@3.1.10
> > │ │ └─┬ regex-not@1.0.2
> > │ │ └── safe-regex@1.1.0
> > │ └─┬ braces@2.3.2
> > │ ├─┬ snapdragon@0.8.2
> > │ │ ├─┬ base@0.11.2
> > │ │ │ ├─┬ cache-base@1.0.1
> > │ │ │ │ ├─┬ collection-visit@1.0.0
> > │ │ │ │ │ ├── map-visit@1.0.0
> > │ │ │ │ │ └─┬ object-visit@1.0.1
> > │ │ │ │ │ └── isobject@3.0.1
> > │ │ │ │ ├── component-emitter@1.2.1
> > │ │ │ │ ├── get-value@2.0.6
> > │ │ │ │ ├─┬ has-value@1.0.0
> > │ │ │ │ │ ├─┬ has-values@1.0.0
> > │ │ │ │ │ │ ├─┬ is-number@3.0.0
> > │ │ │ │ │ │ │ └── kind-of@3.2.2
> > │ │ │ │ │ │ └── kind-of@4.0.0
> > │ │ │ │ │ └── isobject@3.0.1
> > │ │ │ │ ├── isobject@3.0.1
> > │ │ │ │ ├─┬ set-value@2.0.0
> > │ │ │ │ │ └── extend-shallow@2.0.1
> > │ │ │ │ ├─┬ union-value@1.0.0
> > │ │ │ │ │ └─┬ set-value@0.4.3
> > │ │ │ │ │ └── extend-shallow@2.0.1
> > │ │ │ │ └─┬ unset-value@1.0.0
> > │ │ │ │ ├─┬ has-value@0.3.1
> > │ │ │ │ │ ├── has-values@0.1.4
> > │ │ │ │ │ └── isobject@2.1.0
> > │ │ │ │ └── isobject@3.0.1
> > │ │ │ └─┬ class-utils@0.3.6
> > │ │ │ ├── define-property@0.2.5
> > │ │ │ ├── isobject@3.0.1
> > │ │ │ └─┬ static-extend@0.1.2
> > │ │ │ ├── define-property@0.2.5
> > │ │ │ └─┬ object-copy@0.1.0
> > │ │ │ ├── copy-descriptor@0.1.1
> > │ │ │ └── define-property@0.2.5
> > │ │ └─┬ source-map-resolve@0.5.2
> > │ │ ├── atob@2.1.2
> > │ │ ├── decode-uri-component@0.2.0
> > │ │ ├── resolve-url@0.2.1
> > │ │ ├── source-map-url@0.4.0
> > │ │ └── urix@0.1.0
> > │ └─┬ to-regex@3.0.2
> > │ └─┬ safe-regex@1.1.0
> > │ └── ret@0.1.15
> > └─┬ webpack-dev-server@2.1.0-beta.3
> > ├─┬ sockjs-client@1.1.5
> > │ ├─┬ eventsource@0.1.6
> > │ │ └── original@1.0.2
> > │ ├── faye-websocket@0.11.1
> > │ ├── json3@3.3.2
> > │ └─┬ url-parse@1.4.4
> > │ └── querystringify@2.1.0
> > ├── stream-cache@0.0.2
> > └── UNMET PEER DEPENDENCY webpack@^1.0.0 || ^2.0.0 || ^3.0.0
> >
> > npm WARN enoent ENOENT: no such file or directory, open
> > '/root/metron/metron-interface/metron-config/node_modules/broccoli-stew/package.json'
> > npm WARN enoent ENOENT: no such file or directory, open
> > '/root/metron/metron-interface/metron-config/node_modules/heimdalljs/package.json'
> > npm WARN enoent ENOENT: no such file or directory, open
> > '/root/metron/metron-interface/metron-config/node_modules/mdurl/package.json'
> > npm WARN enoent ENOENT: no such file or directory, open
> > '/root/metron/metron-interface/metron-config/node_modules/safe-regex/package.json'
> > npm WARN enoent ENOENT: no such file or directory, open
> > '/root/metron/metron-interface/metron-config/node_modules/stream-cache/package.json'
> > npm WARN @angular/compiler-cli@0.6.4 requires a peer of
> > @angular/compiler@2.0.2 but none was installed.
> > npm WARN @angular/compiler-cli@0.6.4 requires a peer of
> > @angular/platform-server@2.0.2 but none was installed.
> > npm WARN @angular/compiler-cli@0.6.4 requires a peer of @angular/core@2.0.2
> > but none was installed.
> > npm WARN @angular/platform-server@2.4.10 requires a peer of
> > @angular/core@2.4.10 but none was installed.
> > npm WARN @angular/platform-server@2.4.10 requires a peer of
> > @angular/common@2.4.10 but none was installed.
> > npm WARN @angular/platform-server@2.4.10 requires a peer of
> > @angular/compiler@2.4.10 but none was installed.
> > npm WARN @angular/platform-server@2.4.10 requires a peer of
> > @angular/platform-browser@2.4.10 but none was installed.
> > npm WARN expose-loader@0.7.5 requires a peer of webpack@^2.0.0 || ^3.0.0 ||
> > ^4.0.0 but none was installed.
> > npm WARN string-replace-loader@1.3.0 requires a peer of webpack@1 || 2 || 3
> > but none was installed.
> > npm WARN webpack-dev-middleware@1.12.2 requires a peer of webpack@^1.0.0 ||
> > ^2.0.0 || ^3.0.0 but none was installed.
> > [root@ctg1 metron-config]# npm install angular
> > - @angular/tsc-wrapped@0.5.2
> > node_modules/@angular-cli/ast-tools/node_modules/@angular/tsc-wrapped
> > metron-management-ui@0.6.0 /root/metron/metron-interface/metron-config
> > ├── UNMET PEER DEPENDENCY @angular/common@2.0.0
> > ├── UNMET PEER DEPENDENCY @angular/compiler@2.0.0
> > ├── UNMET PEER DEPENDENCY @angular/core@2.0.0
> > ├── UNMET PEER DEPENDENCY @angular/platform-browser@2.0.0
> > └── angular@1.7.5
> >
> > npm WARN enoent ENOENT: no such file or directory, open
> > '/root/metron/metron-interface/metron-config/node_modules/broccoli-stew/package.json'
> > npm WARN enoent ENOENT: no such file or directory, open
> > '/root/metron/metron-interface/metron-config/node_modules/heimdalljs/package.json'
> > npm WARN enoent ENOENT: no such file or directory, open
> > '/root/metron/metron-interface/metron-config/node_modules/mdurl/package.json'
> > npm WARN enoent ENOENT: no such file or directory, open
> > '/root/metron/metron-interface/metron-config/node_modules/safe-regex/package.json'
> > npm WARN enoent ENOENT: no such file or directory, open
> > '/root/metron/metron-interface/metron-config/node_modules/stream-cache/package.json'
> > npm WARN @angular/compiler-cli@0.6.4 requires a peer of
> > @angular/compiler@2.0.2 but none was installed.
> > npm WARN @angular/compiler-cli@0.6.4 requires a peer of
> > @angular/platform-server@2.0.2 but none was installed.
> > npm WARN @angular/compiler-cli@0.6.4 requires a peer of @angular/core@2.0.2
> > but none was installed.
> > npm WARN @angular/platform-server@2.4.10 requires a peer of
> > @angular/core@2.4.10 but none was installed.
> > npm WARN @angular/platform-server@2.4.10 requires a peer of
> > @angular/common@2.4.10 but none was installed.
> > npm WARN @angular/platform-server@2.4.10 requires a peer of
> > @angular/compiler@2.4.10 but none was installed.
> > npm WARN @angular/platform-server@2.4.10 requires a peer of
> > @angular/platform-browser@2.4.10 but none was installed.
> > npm WARN expose-loader@0.7.5 requires a peer of webpack@^2.0.0 || ^3.0.0 ||
> > ^4.0.0 but none was installed.
> > npm WARN string-replace-loader@1.3.0 requires a peer of webpack@1 || 2 || 3
> > but none was installed.
> > npm WARN webpack-dev-middleware@1.12.2 requires a peer of webpack@^1.0.0 ||
> > ^2.0.0 || ^3.0.0 but none was installed.
> > [root@ctg1 metron-config]# @angular/common@2.0.0
> > -bash: @angular/common@2.0.0: No such file or directory
> > [root@ctg1 metron-config]# npm install angular/common@2.0.0
> > npm ERR! addLocal Could not install
> > /root/metron/metron-interface/metron-config/angular/common@2.0.0
> > npm ERR! Linux 3.10.0-693.el7.x86_64
> > npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "angular/common@2.0.0
> > "
> > npm ERR! node v6.14.3
> > npm ERR! npm v3.10.10
> > npm ERR! path
> > /root/metron/metron-interface/metron-config/angular/common@2.0.0
> > npm ERR! code ENOENT
> > npm ERR! errno -2
> > npm ERR! syscall open
> >
> > npm ERR! enoent ENOENT: no such file or directory, open
> > '/root/metron/metron-interface/metron-config/angular/common@2.0.0'
> > npm ERR! enoent ENOENT: no such file or directory, open
> > '/root/metron/metron-interface/metron-config/angular/common@2.0.0'
> > npm ERR! enoent This is most likely not a problem with npm itself
> > npm ERR! enoent and is related to npm not being able to find a file.
> > npm ERR! enoent
> >
> > npm ERR! Please include the following file with any support request:
> > npm ERR! /root/metron/metron-interface/metron-config/npm-debug.log
> >
> > --
> > With Regards
> > Farrukh Naveed Anjum
> >
>