my npm version: 2.15.1,  (But it seems that it has another npm in hawkular/console/target/gulp-build/node)
exact errors with `gulp build`
```
/Users/akuo/Developer/hawkular/hawkular/console/target/gulp-build/gulpfile.babel.js:17
import yargs from 'yargs';
^^^^^^

SyntaxError: Unexpected reserved word
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Liftoff.handleArguments (/usr/local/lib/node_modules/gulp/bin/gulp.js:116:3)
    at Liftoff.<anonymous> (/usr/local/lib/node_modules/gulp/node_modules/liftoff/index.js:193:16)
    at module.exports (/usr/local/lib/node_modules/gulp/node_modules/liftoff/node_modules/flagged-respawn/index.js:17:3)
```
Thanks!

On Mon, May 23, 2016 at 5:08 PM Karel Hala <khala@redhat.com> wrote:
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@gmail.com>
To: "Discussions around Hawkular development" <hawkular-dev@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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev