[
https://issues.apache.org/jira/browse/METRON-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16153952#comment-16153952
]
Ian Abreu edited comment on METRON-914 at 9/5/17 4:43 PM:
----------------------------------------------------------
Trying to run this manually, i see the following:
{{[root@centos-z0r0 metron-config]# pwd
/root/metron/metron-interface/metron-config
[root@centos-z0r0 metron-config]# node/node
node/node_modules/npm/bin/npm-cli.js install
npm WARN deprecated [email protected]: angular-cli has been renamed to
@angular/cli. Please update your dependencies.
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail
on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as
possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated [email protected]: Use uuid module instead
npm WARN deprecated [email protected]: ReDoS vulnerability parsing Set-Cookie
https://nodesecurity.io/advisories/130
> [email protected] install
> /root/metron/metron-interface/metron-config/node_modules/execSync
> node install.js
module.js:471
throw err;
^
Error: Cannot find module
'/root/metron/metron-interface/metron-config/node_modules/execSync/install.js'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:389:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:504:3
[email protected] /root/metron/metron-interface/metron-config
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected] extraneous
└── UNMET PEER DEPENDENCY [email protected] extraneous
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture:
[email protected]
npm WARN @angular/[email protected] requires a peer of @angular/[email protected]
but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but
none was installed.
npm WARN @angular/[email protected] requires a peer of
@angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of
@angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of
@angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of
@angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of
@angular/[email protected] but none was installed.
npm WARN [email protected] requires a peer of webpack@1 || 2 || 3 but
none was installed.
npm WARN [email protected] requires a peer of webpack@^1.0.0 ||
^2.0.0 || ^3.0.0 but none was installed.
npm ERR! Linux 3.10.0-514.26.2.el7.x86_64
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"
"install"
npm ERR! node v6.2.0
npm ERR! npm v3.8.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the execSync package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs execSync
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls execSync
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/metron/metron-interface/metron-config/npm-debug.log
npm ERR! code 1
}}
was (Author: iabreu):
Trying to run this manually, i see the following:
{{[root@centos-z0r0 metron-config]# pwd
/root/metron/metron-interface/metron-config
[root@centos-z0r0 metron-config]# node/node
node/node_modules/npm/bin/npm-cli.js install
npm WARN deprecated [email protected]: angular-cli has been renamed to
@angular/cli. Please update your dependencies.
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail
on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as
possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated [email protected]: Use uuid module instead
npm WARN deprecated [email protected]: ReDoS vulnerability parsing Set-Cookie
https://nodesecurity.io/advisories/130
> [email protected] install
> /root/metron/metron-interface/metron-config/node_modules/execSync
> node install.js
module.js:471
throw err;
^
Error: Cannot find module
'/root/metron/metron-interface/metron-config/node_modules/execSync/install.js'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:389:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:504:3
[email protected] /root/metron/metron-interface/metron-config
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected] extraneous
└── UNMET PEER DEPENDENCY [email protected] extraneous
[email protected] /root/metron/metron-interface/metron-config
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected] extraneous
└── UNMET PEER DEPENDENCY [email protected] extraneous
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture:
[email protected]
npm WARN @angular/[email protected] requires a peer of @angular/[email protected]
but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but
none was installed.
npm WARN @angular/[email protected] requires a peer of
@angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of
@angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of
@angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of
@angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of
@angular/[email protected] but none was installed.
npm WARN [email protected] requires a peer of webpack@1 || 2 || 3 but
none was installed.
npm WARN [email protected] requires a peer of webpack@^1.0.0 ||
^2.0.0 || ^3.0.0 but none was installed.
npm ERR! Linux 3.10.0-514.26.2.el7.x86_64
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"
"install"
npm ERR! node v6.2.0
npm ERR! npm v3.8.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the execSync package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs execSync
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls execSync
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/metron/metron-interface/metron-config/npm-debug.log
npm ERR! code 1
}}
> Build Metron failure
> --------------------
>
> Key: METRON-914
> URL: https://issues.apache.org/jira/browse/METRON-914
> Project: Metron
> Issue Type: Bug
> Affects Versions: 0.4.0
> Environment: Ubuntu 16.04.1
> Reporter: GS Peter
> Fix For: 0.4.0
>
> Attachments: build.log.tar.gz, npm-debug.log
>
> Original Estimate: 504h
> Remaining Estimate: 504h
>
> [INFO] metron-config ...................................... FAILURE [04:08
> min]
> [INFO] metron-rest-client ................................. SKIPPED
> [INFO] metron-rest ........................................ SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 58:04 min
> [INFO] Finished at: 2017-04-28T15:57:16+07:00
> [INFO] Final Memory: 141M/588M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> com.github.eirslett:frontend-maven-plugin:1.3:npm (npm install) on project
> metron-config: Failed to run task: 'npm install' failed. (error code 1) ->
> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <goals> -rf :metron-config
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)