Skip to content
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

v22.0.2 dev-mode does not work with node 17 #12742

Closed
Tracked by #2681
manolo opened this issue Jan 17, 2022 · 2 comments
Closed
Tracked by #2681

v22.0.2 dev-mode does not work with node 17 #12742

manolo opened this issue Jan 17, 2022 · 2 comments

Comments

@manolo
Copy link
Member

manolo commented Jan 17, 2022

Description of the bug

When running any app in dev-mode having node 17.x installed it fails throwing the following error

java.lang.IllegalStateException: Webpack exited prematurely
	at com.vaadin.flow.server.DevModeHandler.doStartWebpack(DevModeHandler.java:706) ~[flow-server-2.7.7.jar:2.7.7]
	at com.vaadin.flow.server.DevModeHandler.doStartDevModeServer(DevModeHandler.java:615) ~[flow-server-2.7.7.jar:2.7.7]
	at com.vaadin.flow.server.DevModeHandler.runOnFutureComplete(DevModeHandler.java:562) ~[flow-server-2.7.7.jar:2.7.7]

Expected behavior

Application should work

Minimal reproducible example

node --version ## should output 17.x
curl 'https://start.vaadin.com/dl?preset=latest' -o my-app.zip
unzip my-app.zip
cd my-app
mvn

Versions

  • Vaadin version: 22.0.2
  • Java version: 11.0.11
  • OS version: macos big sur
  • Node version: v17.3.1
@manolo manolo changed the title v22.0.2 dev-mode do not work with node 17 v22.0.2 dev-mode does not work with node 17 Jan 17, 2022
@caalador
Copy link
Contributor

This should eb fixed in #12675 and be in the release version 9.0.3 so should work after release 22.0.3

@manolo
Copy link
Member Author

manolo commented Jan 17, 2022

thanks @caalador, will keep here until it's released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants