[Hawkular-dev] Building hawkular failed

Karel Hala khala at redhat.com
Mon May 23 05:08:24 EDT 2016


Hello,

it's problem with gulp and packing [.ts, .js] files.

What version of npm do you have? (npm -v).

I suppose you've built the application before so you have installed npm, bower, gulp... right?

Also you can try navigating to 
$ hawkular/directory/hawkular/console/target/gulp-build

and run
$ gulp build
to see the exact error (from what you've pasted it looks like babel was not registered correctly, which is odd)

Karel.

----- Original Message -----
From: "Austin Kuo" <auszon3 at gmail.com>
To: "Discussions around Hawkular development" <hawkular-dev at lists.jboss.org>
Sent: Monday, May 23, 2016 10:28:49 AM
Subject: [Hawkular-dev] Building hawkular failed

Hi guys, 
I was trying to build the latest repo on master. 
It complained that 
``` 
[ERROR] import yargs from ‘yargs'; 
[ERROR] ^^^^^^ 
[ERROR] 
[ERROR] SyntaxError: Unexpected reserved word 
[ERROR] at exports.runInThisContext (vm.js:53:16) 
[ERROR] at Module._compile (module.js:414:25) 
[ERROR] at Object.Module._extensions..js (module.js:442:10) 
[ERROR] at Module.load (module.js:356:32) 
[ERROR] at Function.Module._load (module.js:311:12) 
[ERROR] at Module.require (module.js:366:17) 
[ERROR] at require (module.js:385:17) 
[ERROR] at Liftoff.handleArguments (/Users/akuo/Developer/hawkular/hawkular/console/target/gulp-build/node_modules/gulp/bin/gulp.js:116:3) 
[ERROR] at Liftoff.<anonymous> (/Users/akuo/Developer/hawkular/hawkular/console/target/gulp-build/node_modules/gulp/node_modules/liftoff/index.js:192:16) 
[ERROR] at module.exports (/Users/akuo/Developer/hawkular/hawkular/console/target/gulp-build/node_modules/gulp/node_modules/liftoff/node_modules/flagged-respawn/index.js:17:3) 
``` 
… 
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.26:gulp (gulp build) on project hawkular-console: Failed to run task: ‘gulp.js build --production --no-color' failed. (error code 1) -> [Help 1] 

Anyone knows how to fix this? 
Thanks 

_______________________________________________
hawkular-dev mailing list
hawkular-dev at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev



More information about the hawkular-dev mailing list