Debug file attached

Kevin

On Tue, May 16, 2017 at 8:30 AM, Ryan Merriman <merrim...@gmail.com> wrote:

> Kevin, I think your error is related to npm.  Can you attach the full log
> file?
>
> On Mon, May 15, 2017 at 5:23 PM, Kevin Waterson <kevin.water...@gmail.com>
> wrote:
>
> > I am getting something similar..
> >
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 08:08 min
> > [INFO] Finished at: 2017-05-15T13:04:00+10:00
> > [INFO] Final Memory: 220M/3873M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > com.github.eirslett:frontend-maven-plugin:1.3:npm (ng build) on project
> > metron-config: Failed to run task: 'npm run build' failed. (error code 1)
> > -> [Help 1]
> >
> > Looking back through the code I can see
> > [ERROR]     at
> > /home/kevin/metron/docs/incubator-metron/metron-
> > interface/metron-config/node_modules/resolve/lib/async.js:24:24
> > [ERROR]     at FSReqWrap.oncomplete (fs.js:117:15)
> > [ERROR]
> > [ERROR] npm ERR! Linux 4.4.0-75-generic
> > [ERROR] npm ERR! argv
> > "/home/kevin/metron/docs/incubator-metron/metron-
> > interface/metron-config/node/node"
> > "/home/kevin/metron/docs/incubator-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'.
> > [ERROR] npm ERR! Make sure you have the latest version of node.js and npm
> > installed.
> > [ERROR] npm ERR! If you do, this is most likely a problem with the
> > metron-management-ui package,
> > [ERROR] npm ERR! not with npm itself.
> > [ERROR] npm ERR! Tell the author that this fails on your system:
> > [ERROR] npm ERR!     ./node_modules/angular-cli/bin/ng build -prod
> > [ERROR] npm ERR! You can get information on how to open an issue for this
> > project with:
> > [ERROR] npm ERR!     npm bugs metron-management-ui
> > [ERROR] npm ERR! Or if that isn't available, you can get their info via:
> > [ERROR] npm ERR!     npm owner ls metron-management-ui
> > [ERROR] npm ERR! There is likely additional logging output above.
> > [ERROR]
> >
> >
> > Kevin
> >
> > On Tue, May 16, 2017 at 4:32 AM, Dima Kovalyov <dima.koval...@sstech.us>
> > wrote:
> >
> > > Hello Metron devs,
> > >
> > > I am trying to merge Apache Metron branch Metron_0.3.1 into our Metron
> > > fork. I resolved few conflicts in regards to pom and travis xml files.
> > > When I build it, I receive following error:
> > > [INFO] Compiling 55 source files to
> > > /home/redacted/sst-metron/metron-platform/metron-
> > enrichment/target/classes
> > > /home/redacted/sst-metron/metron-platform/metron-
> > > enrichment/src/main/java/org/apache/metron/enrichment/
> > > adapters/simplehbase/SimpleHBaseAdapter.java:90:
> > > warning: [unchecked] unchecked call to put(K,V) as a member of the raw
> > > type HashMap
> > >               enriched.put(kv.getKey().type + "." + values.getKey(),
> > > values.getValue());
> > >                           ^
> > >   where K,V are type-variables:
> > >     K extends Object declared in class HashMap
> > >     V extends Object declared in class HashMap
> > > ...
> > > [ERROR] Failed to execute goal
> > > org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
> > > (default-compile) on project metron-enrichment: Compilation failure ->
> > > [Help 1]
> > >
> > > Attached full file for check.
> > >
> > > Both repos building fine separately.
> > >
> > > Can you please advise where I can find file that causes this?
> > > Thank you.
> > >
> > > - Dima
> > >
> >
>
0 info it worked if it ends with ok
1 verbose cli [ '/home/kevin/metron/docs/incubator-metron/metron-interface/metron-config/node/node',
1 verbose cli   '/home/kevin/metron/docs/incubator-metron/metron-interface/metron-config/node/node_modules/npm/bin/npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'build' ]
2 info using npm@3.8.9
3 info using node@v6.2.0
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle metron-management-ui@0.4.0~prebuild: metron-management-ui@0.4.0
6 silly lifecycle metron-management-ui@0.4.0~prebuild: no script for prebuild, continuing
7 info lifecycle metron-management-ui@0.4.0~build: metron-management-ui@0.4.0
8 verbose lifecycle metron-management-ui@0.4.0~build: unsafe-perm in lifecycle true
9 verbose lifecycle metron-management-ui@0.4.0~build: PATH: /home/kevin/metron/docs/incubator-metron/metron-interface/metron-config/node/node_modules/npm/bin/node-gyp-bin:/home/kevin/metron/docs/incubator-metron/metron-interface/metron-config/node_modules/.bin:/home/kevin/metron/docs/incubator-metron/metron-interface/metron-config/node:/home/kevin/metron/docs/incubator-metron/metron-interface/metron-config/node:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:
10 verbose lifecycle metron-management-ui@0.4.0~build: CWD: /home/kevin/metron/docs/incubator-metron/metron-interface/metron-config
11 silly lifecycle metron-management-ui@0.4.0~build: Args: [ '-c', './node_modules/angular-cli/bin/ng build -prod' ]
12 silly lifecycle metron-management-ui@0.4.0~build: Returned: code: 1  signal: null
13 info lifecycle metron-management-ui@0.4.0~build: Failed to exec build script
14 verbose stack Error: metron-management-ui@0.4.0 build: `./node_modules/angular-cli/bin/ng build -prod`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (/home/kevin/metron/docs/incubator-metron/metron-interface/metron-config/node/node_modules/npm/lib/utils/lifecycle.js:245:16)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at EventEmitter.emit (events.js:191:7)
14 verbose stack     at ChildProcess.<anonymous> (/home/kevin/metron/docs/incubator-metron/metron-interface/metron-config/node/node_modules/npm/lib/utils/spawn.js:24:14)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at ChildProcess.emit (events.js:191:7)
14 verbose stack     at maybeClose (internal/child_process.js:850:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15 verbose pkgid metron-management-ui@0.4.0
16 verbose cwd /home/kevin/metron/docs/incubator-metron/metron-interface/metron-config
17 error Linux 4.4.0-75-generic
18 error argv "/home/kevin/metron/docs/incubator-metron/metron-interface/metron-config/node/node" "/home/kevin/metron/docs/incubator-metron/metron-interface/metron-config/node/node_modules/npm/bin/npm-cli.js" "run" "build"
19 error node v6.2.0
20 error npm  v3.8.9
21 error code ELIFECYCLE
22 error metron-management-ui@0.4.0 build: `./node_modules/angular-cli/bin/ng build -prod`
22 error Exit status 1
23 error Failed at the metron-management-ui@0.4.0 build script './node_modules/angular-cli/bin/ng build -prod'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the metron-management-ui package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     ./node_modules/angular-cli/bin/ng build -prod
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs metron-management-ui
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls metron-management-ui
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

Reply via email to