Generator-jhipster: The index.html file is blank after grulp serve

Created on 5 May 2016  路  5Comments  路  Source: jhipster/generator-jhipster

JHipster Version(s)

3.1.0

JHipster configuration, a .yo-rc.json file generated in the root folder

{
"generator-jhipster": {
"baseName": "Volunteercrowd",
"packageName": "com.hielfsoft.volunteercrowd",
"packageFolder": "com/hielfsoft/volunteercrowd",
"authenticationType": "session",
"hibernateCache": "ehcache",
"clusteredHttpSession": "no",
"websocket": "spring-websocket",
"databaseType": "sql",
"devDatabaseType": "postgresql",
"prodDatabaseType": "postgresql",
"searchEngine": "elasticsearch",
"useSass": false,
"buildTool": "gradle",
"frontendBuilder": "grunt",
"enableTranslation": true,
"enableSocialSignIn": false,
"testFrameworks": [
"gatling",
"cucumber",
"protractor"
],
"jhipsterVersion": "3.0.0",
"serverPort": "8080",
"applicationType": "monolith",
"nativeLanguaje": "es",
"languages": [
"en",
"es"
],
"travis": true
}
}

Despite the fact that it says the JHipster version is 3.0.0 I am running the 3.1.0

Entity configuration(s) entityName.json files generated in the .jhipster directory
Browsers and Operating System

Windows 10 and Mozilla Firefox

Reproduce the error

  1. Execute gradle bootRun throught IntelliJ in debug mode
  2. Execute gulp serve throught IntelliJ in run mode
  3. Look at the content of index.html and the blank page at the browser
Related issues
Suggest a Fix

Most helpful comment

Normally "gulp serve" should inject the right JS/CSS inside your index.html, that's supposed to be the solution, not the problem.

All 5 comments

You probably had an error in your logs, like a network issue.
Without your logs we can't help you.

-> I've created ticket #3541 to help people in your case

It isn't a network issue, is the index.html file wich become empty when gulp serve is executed. After ctrl+z the index.html file, it works fine

Normally "gulp serve" should inject the right JS/CSS inside your index.html, that's supposed to be the solution, not the problem.

I am having the same problem on my Win machine. Everything works until i run gulpi just get a blank page at http://localhost:9000/
I also get blank page if i run only maven on http://127.0.0.1:8080

Please don't camp on an old issue, open a new one.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sdoxsee picture sdoxsee  路  4Comments

trajakovic picture trajakovic  路  4Comments

dronavallisaikrishna picture dronavallisaikrishna  路  3Comments

pascalgrimaud picture pascalgrimaud  路  3Comments

ahmedeldeeb25 picture ahmedeldeeb25  路  3Comments