TypeError: window.JH is undefined - starting project

Since a few days, we are getting this error in the bowser webdev tools (source : generated-flow-imports-xxxxxx.js.
Web page is showing a white page with infinite loading indicator at top.

Compilation is all fine
Building front-end goes with no error
Logs at launch show nothing strange

We tried to launch it from Eclipse and from IntelliJ, with maven goal spring-boot:run and with an eclipse embedded tomcat (server view). Same result.
Compilation, refreshs, pom.xml recreation, nothing worked out.
We were running Vaadin 24.3, now updated to latest 24, still with same result

Strange thing : if we package it to a WAR file, and deploy it to a server (production-mode=on), it works and we get the webpage running.

I did not found anything on forums.
Any advice ?

Best regards
Sebastien

Look in the browser inspector / console. That might give some idea who is trying to call what

1 Like

Thanks artur to point me to the right direction.
There was indeed a few lines around the exception a ref to an outdated addon.

I was too focus on the fact it worked on prod-war to keep my search simple ;-)