jimboweb
jimboweb

Reputation: 4542

jHipster registry can't compile angular dependencies

So I cloned the jHipster registries, but am getting the following warnings:

npm WARN [email protected] requires a peer of @angular/common@^2.0.0 but none was installed.
npm WARN [email protected] requires a peer of @angular/core@^2.0.0 but none was installed.
npm WARN [email protected] requires a peer of @angular/core@^2.0.0 but none was installed.
npm WARN [email protected] requires a peer of @angular/http@^2.0.0 but none was installed.

How do I fix this so I can build?

Upvotes: 2

Views: 190

Answers (1)

Pascal Grimaud
Pascal Grimaud

Reputation: 1171

As it's an Angular project, after cloning the jhipster-registry project, you need to:

  • yarn install (to install all dependencies) or npm install, depending which tool you use
  • then you can start the registry: ./mvnw

Another solution:

Upvotes: 5

Related Questions