我提到了应用程序安装的cmds,IntelliJ Idea控制台以及来自浏览器文件的项目输出 1.终端cmds:https://github.com/GokulRamasamy/jhipster/blob/master/terminal%20code%20for%20jhipster 2. intellij console:https://github.com/GokulRamasamy/jhipster/blob/master/intellij%20console%20for%20jhipster 3.浏览器屏幕截图:https://github.com/GokulRamasamy/jhipster/blob/master/Screenshot%20from%202018-03-16%2018-08-12.png
您能否解释一下我收到此错误的原因?
提前致谢
答案 0 :(得分:1)
您需要为JHipster AngularJS项目as described in the docs安装所需的依赖项。
根据您的生成日志,您遗漏gulp
,可以通过运行yarn global add gulp-cli
[17:48:09] Local gulp not found in ~/gokul/test/jhip1
[17:48:09] Try running: npm install gulp
浏览器屏幕截图显示了修复生成的项目所需的步骤。首先,安装缺少的依赖项(gulp)。然后运行以下命令:
yarn install
bower install
gulp install
这将构建您的前端并将bower依赖项注入index.html。在此之后,你应该可以在http://localhost:8080
的浏览器中看到你的JHipster前端你也可以重新运行jhipster --force --with-entities
重新运行JHipster,它应该正确重建项目(一旦安装了gulp)