-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unclear issue when missing vaadin-dev-server #225
Labels
Comments
Artur-
added a commit
to vaadin/flow
that referenced
this issue
Nov 22, 2022
…not using a dev server While this does not directly solve any issue it will make vaadin/hilla#225 clearer when there is no longer any error about a missing index.html but instead you see in the logs: [qtp1200171710-60] INFO com.vaadin.flow.server.DefaultDeploymentConfiguration - Vaadin is running in DEVELOPMENT mode - do not use for production deployments. [qtp1200171710-60] WARN com.vaadin.flow.server.VaadinServletService - no DevModeHandlerManager implementation found but dev server enabled. Include the com.vaadin.vaadin-dev-server dependency.
Artur-
added a commit
to vaadin/flow
that referenced
this issue
Nov 22, 2022
…not using a dev server While this does not directly solve any issue it will make vaadin/hilla#225 clearer when there is no longer any error about a missing index.html but instead you see in the logs: [qtp1200171710-60] INFO com.vaadin.flow.server.DefaultDeploymentConfiguration - Vaadin is running in DEVELOPMENT mode - do not use for production deployments. [qtp1200171710-60] WARN com.vaadin.flow.server.VaadinServletService - no DevModeHandlerManager implementation found but dev server enabled. Include the com.vaadin.vaadin-dev-server dependency.
Artur-
added a commit
to vaadin/flow
that referenced
this issue
Nov 22, 2022
…not using a dev server While this does not directly solve any issue it will make vaadin/hilla#225 clearer when there is no longer any error about a missing index.html but instead you see in the logs: [qtp1200171710-60] INFO com.vaadin.flow.server.DefaultDeploymentConfiguration - Vaadin is running in DEVELOPMENT mode - do not use for production deployments. [qtp1200171710-60] WARN com.vaadin.flow.server.VaadinServletService - no DevModeHandlerManager implementation found but dev server enabled. Include the com.vaadin.vaadin-dev-server dependency.
Artur-
added a commit
to vaadin/flow
that referenced
this issue
Nov 22, 2022
…not using a dev server While this does not directly solve any issue it will make vaadin/hilla#225 clearer when there is no longer any error about a missing index.html but instead you see in the logs: [qtp1200171710-60] INFO com.vaadin.flow.server.DefaultDeploymentConfiguration - Vaadin is running in DEVELOPMENT mode - do not use for production deployments. [qtp1200171710-60] WARN com.vaadin.flow.server.VaadinServletService - no DevModeHandlerManager implementation found but dev server enabled. Include the com.vaadin.vaadin-dev-server dependency.
Artur-
added a commit
to vaadin/flow
that referenced
this issue
Nov 23, 2022
…not using a dev server While this does not directly solve any issue it will make vaadin/hilla#225 clearer when there is no longer any error about a missing index.html but instead you see in the logs: [qtp1200171710-60] INFO com.vaadin.flow.server.DefaultDeploymentConfiguration - Vaadin is running in DEVELOPMENT mode - do not use for production deployments. [qtp1200171710-60] WARN com.vaadin.flow.server.VaadinServletService - no DevModeHandlerManager implementation found but dev server enabled. Include the com.vaadin.vaadin-dev-server dependency.
Artur-
added a commit
to vaadin/flow
that referenced
this issue
Nov 25, 2022
…not using a dev server While this does not directly solve any issue it will make vaadin/hilla#225 clearer when there is no longer any error about a missing index.html but instead you see in the logs: [qtp1200171710-60] INFO com.vaadin.flow.server.DefaultDeploymentConfiguration - Vaadin is running in DEVELOPMENT mode - do not use for production deployments. [qtp1200171710-60] WARN com.vaadin.flow.server.VaadinServletService - no DevModeHandlerManager implementation found but dev server enabled. Include the com.vaadin.vaadin-dev-server dependency.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When executing a project in development mode without the vaadin-dev-server dependency the issue seems like the project was missing the
index.html
in./frontend
as the warning aboutno DevModeHandlerManager
gets lost in the logs that is logged after accessing the page.Also the page only shows the exception of missing index.html:
Minimal reproducible example
In the flow project test module
test-themes
(<artifactId>flow-test-themes-npm</artifactId>
,<name>Flow themes tests in NPM mode</name>
) remove from the flow-maven-plugin thebuild-frontend
goal andproductionMode
configuration.run project with
mvn package jetty:run
Expected behavior
Error shown on load should mention vaadin-dev-server dependency. Or at a minimum explain that webpack-dev-server did not return index.html when queried. Instead of referencing a file on disk that was not even tried.
Actual behavior
Error references a file that actually exists on the filesystem making the error not make any sense at all.
The text was updated successfully, but these errors were encountered: