JHipster After creating sample entity nothing is shown in the browser

我是研究僧i 提交于 2019-12-11 04:16:42

问题


I have created a sample application with a very simple entity "stock" with an String id. All pre-build and unit tests run without errors, but when I open the generated application, I can not see the dialog allowing me to create or see "stocks". Just the header and footer.

The only warning I see is this one:

I'm all done. Running bower install & npm install for you to install the required dependencies. If this fails, try running the command yourself.

'bower' is not recognized as an internal or external command,operable program or batch file.
npm WARN package.json stokker@0.0.0 No repository field.
npm WARN optional dep failed, continuing fsevents@0.3.1

Could this be related? Do I need to do any additional "bower" installation? I followed the installation process shown in the JHipster website (Node.js and Yeoman). I´m running on Windows.

UPDATE: I have installed bower manually using npm bower installand the error is not fixed. Also I have noticed that the upper menu is not working so I think this problem might be caused by some JavaScript problem...


回答1:


Being a noob in this field, I missed several installation steps not shown in the website:

  • Git needs to be set in the PATH environment variable.
  • You need to run this command in order to manually install bower:

    npm install -g bower

None of these steps are shown in the installation guidelines so I will try to contact the JHipster support in case they modify their website (and save other people´s time).



来源:https://stackoverflow.com/questions/27034885/jhipster-after-creating-sample-entity-nothing-is-shown-in-the-browser

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!