Hello,
I’m trying to use vaadin-techbench the first time. But when I add the dependency to my vaadin spring project, the Webpack isn’t alive.
(Vaadin 14.4.1; springframework.boot=2.3.2.RELEASE)
I only added the dependency
and then while running a SpringBootTest, in the webbrowser I only get a white page that shows ‘Whitelabel Error Page’.
And the logging shows me following Stacktrace:
java.lang.IllegalStateException: Webpack exited prematurely
at com.vaadin.flow.server.DevModeHandler.doStartWebpack(DevModeHandler.java:637)
at com.vaadin.flow.server.DevModeHandler.doStartDevModeServer(DevModeHandler.java:563)
at com.vaadin.flow.server.DevModeHandler.runOnFutureComplete(DevModeHandler.java:510)
at com.vaadin.flow.server.DevModeHandler.lambda$new$0(DevModeHandler.java:141)
at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760)
at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736)
at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:443)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Is there something else I have to configurate for Webpack and vaadin-techbench?
Regards,
Thorsten
Thanks for your help, but I think it has nothing to do with the webpack.config.js. Because my Application works fine without the vaadin-techbench dependency and the webpack.config.js doesnt change when I add the dependency or not.
Now I have checked all dependencies from vaadin-techbench.
So I added the vaadin-testbench dependency and excluded all dependencies that vaadin-testbench uses.
Then I have removed one exclusion by one. And endet up with this.