Magick
Magick

Reputation: 5112

JHipster error when running

I am trying to get started with JHipster, but keep running into issues.

The latest issue is, after going through the JHipster cli prompt, and answering a series of questions, then it proceeds to download the internet, until it hits the following error:

swagger-ui#2.1.3 src/main/webapp/bower_components/swagger-ui

angular-i18n#1.4.8 src/main/webapp/bower_components/angular-i18n

angular-ui-router#0.2.15 src/main/webapp/bower_components/angular-ui-router
└── angular#1.4.8
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: spawn grunt ENOENT
    at exports._errnoException (util.js:856:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
    at onErrorNT (internal/child_process.js:344:16)
    at nextTickCallbackWith2Args (node.js:474:9)
    at process._tickCallback (node.js:388:17)
anton@anton-K93SV:~/git/jhipster-qs$ 

What should I do now?

Upvotes: 2

Views: 1072

Answers (2)

Tommy Flowers
Tommy Flowers

Reputation: 11

This error is obtained if you don't have gulp installed. Run:

npm install -g gulp

Upvotes: 1

ay8
ay8

Reputation: 1

Run

sudo npm install -g grunt-cli

This is the step #7 of this tutorial: http://jhipster.github.io/installation/

Upvotes: 0

Related Questions