在创建示例实体后,JHipster没有显示在浏览器中。

时间:2021-12-19 12:53:40

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.

我已经创建了一个示例应用程序,它有一个非常简单的实体“stock”和一个字符串id。只有页眉和页脚。

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.

这有关吗?我需要做任何额外的“凉亭”安装吗?我遵循了JHipster网站(Node)中显示的安装过程。js和自耕农)。我´运行在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...

更新:我已经用npm bower安装了bower,这个错误不是固定的。我还注意到上面的菜单不工作,所以我认为这个问题可能是由于一些JavaScript问题……

1 个解决方案

#1


2  

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.
  • 需要在PATH环境变量中设置Git。
  • You need to run this command in order to manually install bower:

    您需要运行此命令才能手动安装bower:

    npm install -g bower

    npm安装- g鲍尔

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).

这些步骤所示安装指南所以我将试着联系JHipster支持,以防他们修改他们的网站(和拯救他人´s时间)。

#1


2  

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.
  • 需要在PATH环境变量中设置Git。
  • You need to run this command in order to manually install bower:

    您需要运行此命令才能手动安装bower:

    npm install -g bower

    npm安装- g鲍尔

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).

这些步骤所示安装指南所以我将试着联系JHipster支持,以防他们修改他们的网站(和拯救他人´s时间)。