jHipster注册表无法编译角度依赖项

jim*_*web 2 jhipster angular

所以我克隆了jHipster注册表,但是收到了以下警告:

npm WARN angular2-cookie@1.2.6 requires a peer of @angular/common@^2.0.0 but none was installed.
npm WARN angular2-cookie@1.2.6 requires a peer of @angular/core@^2.0.0 but none was installed.
npm WARN ng2-translate@4.2.0 requires a peer of @angular/core@^2.0.0 but none was installed.
npm WARN ng2-translate@4.2.0 requires a peer of @angular/http@^2.0.0 but none was installed.
Run Code Online (Sandbox Code Playgroud)

我如何解决这个问题,以便我可以构建?

小智 5

由于它是一个Angular项目,在克隆jhipster-registry项目之后,您需要:

  • yarn install(安装所有依赖项)或者npm install,根据您使用的工具
  • 然后你可以启动注册表: ./mvnw

另一种方案: