Closed ElZorrito closed 8 months ago
Ensure that your IDE doesn't cache the old java resources.
Did you try a full clean install via command line?
I'm experiencing the same. I've deleted node_modules before building my application based on 24.2.0.
Deleting node_modules won't refresh your IDE's cache of java / dependencies classes. Ensure that all java dependencies have the correct version. As stated above, did it work by building the application via command line?
Experienced the same today with 24.2.0 Did a maven clean, a vaadin clean frontend, etc (/using maven). Error comes at startup
Compiling/running with jdk 17 on macOS M1
2023-10-23T08:18:16,718 INFO [restartedMain] c.v.f.s.VaadinServletContextInitializer$DevModeServletContextListener: Search for subclasses and classes with annotations took 316 ms
2023-10-23T08:18:16,882 INFO [restartedMain] c.v.b.d.s.DevModeInitializer: Starting dev-mode updaters in /Users/xxxx/workspace/test-server folder.
2023-10-23T08:18:16,910 INFO [restartedMain] c.v.f.s.f.s.FullDependenciesScanner: Visited 141 classes. Took 19 ms.
2023-10-23T08:18:16,911 INFO [restartedMain] c.v.f.s.f.BundleValidationUtil: Checking if a development mode bundle build is needed
2023-10-23T08:18:17,050 INFO [restartedMain] c.v.f.s.f.BundleValidationUtil: Frontend import Frontend/generated/jar-resources/theme-util.js is missing from the bundle
2023-10-23T08:18:17,050 INFO [restartedMain] c.v.f.s.f.BundleValidationUtil: Frontend import @vaadin/vaadin-themable-mixin is missing from the bundle
2023-10-23T08:18:17,050 INFO [restartedMain] c.v.f.s.f.BundleValidationUtil: Frontend import Frontend/styles/tile.css is missing from the bundle
2023-10-23T08:18:17,050 INFO [restartedMain] c.v.f.s.f.BundleValidationUtil: Frontend import Frontend/styles/gateway-tile.css is missing from the bundle
2023-10-23T08:18:17,051 INFO [restartedMain] c.v.f.s.f.BundleValidationUtil: Frontend import Frontend/styles/reader-tile.css is missing from the bundle
2023-10-23T08:18:17,051 INFO [restartedMain] c.v.f.s.f.BundleValidationUtil: Frontend import Frontend/styles/shared-styles.css is missing from the bundle
2023-10-23T08:18:17,051 INFO [restartedMain] c.v.f.s.f.BundleValidationUtil: Frontend import Frontend/my-styles/bordered.css is missing from the bundle
2023-10-23T08:18:17,051 INFO [restartedMain] c.v.f.s.f.BundleValidationUtil: Frontend import Frontend/styles/grid-style.css is missing from the bundle
2023-10-23T08:18:17,051 INFO [restartedMain] c.v.f.s.f.BundleValidationUtil: Frontend import Frontend/privacy-policy.js is missing from the bundle
2023-10-23T08:18:17,051 INFO [restartedMain] c.v.f.s.f.BundleValidationUtil: Frontend import Frontend/terms-of-use.js is missing from the bundle
2023-10-23T08:18:17,051 INFO [restartedMain] c.v.f.s.f.BundleValidationUtil: Frontend import Frontend/styles/applayout-styles.js is missing from the bundle
2023-10-23T08:18:17,051 INFO [restartedMain] c.v.f.s.f.BundleValidationUtil: Frontend import Frontend/sil-impressum.js is missing from the bundle
2023-10-23T08:18:17,052 INFO [restartedMain] c.v.f.s.f.BundleValidationUtil: A development mode bundle build is needed
2023-10-23T08:18:17,084 INFO [ForkJoinPool.commonPool-worker-1] c.v.f.s.f.TaskRunNpmInstall: Skipping `pnpm install` because the frontend packages are already installed in the folder '/Users/xxxx/workspace/test-server/node_modules' and the hash in the file '/Users/xxxx/workspace/test-server/node_modules/.vaadin/vaadin.json' is the same as in 'package.json'
2023-10-23T08:18:17,085 INFO [ForkJoinPool.commonPool-worker-1] c.v.f.s.f.TaskCopyFrontendFiles: Copying frontend resources from jar files ...
2023-10-23T08:18:17,107 INFO [ForkJoinPool.commonPool-worker-1] c.v.f.s.f.TaskCopyFrontendFiles: Visited 17 resources. Took 22 ms.
2023-10-23T08:18:17,202 INFO [ForkJoinPool.commonPool-worker-1] c.v.f.s.f.TaskRunDevBundleBuild: Creating a new development mode bundle. This can take a while but will only run when the project setup is changed, addons are added or frontend files are modified
2023-10-23T08:18:19,495 ERROR [ForkJoinPool.commonPool-worker-1] c.v.f.s.f.TaskRunDevBundleBuild: Command `/Users/xxxx/.vaadin/node/node /Users/xxxx/workspace/test-server/node_modules/vite/bin/vite.js build` failed:
vite v4.4.11 building for production...
transforming...
✓ 174 modules transformed.
✓ built in 588ms
[vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "/Users/xxxx/workspace/test-server/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
error during build:
Error: [vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "/Users/xxxx/workspace/test-server/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
at viteWarn (file:///Users/xxxx/workspace/test-server/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48205:27)
at onwarn (/Users/xxxx/workspace/test-server/vite.config.ts:1192:11)
at onRollupWarning (file:///Users/xxxx/workspace/test-server/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48234:9)
at onwarn (file:///Users/xxxx/workspace/test-server/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:47965:13)
at file:///Users/xxxx/workspace/test-server/node_modules/.pnpm/rollup@3.29.4/node_modules/rollup/dist/es/shared/node-entry.js:24276:13
at Object.logger [as onLog] (file:///Users/xxxx/workspace/test-server/node_modules/.pnpm/rollup@3.29.4/node_modules/rollup/dist/es/shared/node-entry.js:25950:9)
at ModuleLoader.handleInvalidResolvedId (file:///Users/xxxx/workspace/test-server/node_modules/.pnpm/rollup@3.29.4/node_modules/rollup/dist/es/shared/node-entry.js:24862:26)
at file:///Users/xxxx/workspace/test-server/node_modules/.pnpm/rollup@3.29.4/node_modules/rollup/dist/es/shared/node-entry.js:24822:26
2023-10-23T08:18:19,496 WARN [restartedMain] o.e.j.w.WebAppContext: Failed startup of context o.s.b.w.e.j.JettyEmbeddedWebAppContext@3d10a63{application,/,[org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory$LoaderHidingResource@59848d20, file:///Users/xxxx/workspace/test-server/target/classes/META-INF/resources/, jar:file:/Users/xxxx/.m2/repository/com/vaadin/flow-push/24.2.0/flow-push-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/flow-client/24.2.0/flow-client-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/flow-dnd/24.2.0/flow-dnd-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-flow-components-base/24.2.0/vaadin-flow-components-base-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-button-flow/24.2.0/vaadin-button-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-combo-box-flow/24.2.0/vaadin-combo-box-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-date-picker-flow/24.2.0/vaadin-date-picker-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-time-picker-flow/24.2.0/vaadin-time-picker-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-select-flow/24.2.0/vaadin-select-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-grid-flow/24.2.0/vaadin-grid-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-virtual-list-flow/24.2.0/vaadin-virtual-list-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-messages-flow/24.2.0/vaadin-messages-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-renderer-flow/24.2.0/vaadin-renderer-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-text-field-flow/24.2.0/vaadin-text-field-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-context-menu-flow/24.2.0/vaadin-context-menu-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-menu-bar-flow/24.2.0/vaadin-menu-bar-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/org/webjars/swagger-ui/4.18.2/swagger-ui-4.18.2.jar!/META-INF/resources],UNAVAILABLE}
java.lang.RuntimeException: Unable to initialize com.vaadin.flow.spring.VaadinServletContextInitializer$DevModeServletContextListener
at com.vaadin.flow.spring.VaadinServletContextInitializer$FailFastServletContextListener.contextInitialized(VaadinServletContextInitializer.java:199)
at com.vaadin.flow.spring.VaadinServletContextInitializer$CompositeServletContextListener.lambda$contextInitialized$0(VaadinServletContextInitializer.java:223)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at com.vaadin.flow.spring.VaadinServletContextInitializer$CompositeServletContextListener.contextInitialized(VaadinServletContextInitializer.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:1046)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:624)
at org.eclipse.jetty.server.handler.ContextHandler.contextInitialized(ContextHandler.java:983)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:904)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:306)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:533)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171)
at org.eclipse.jetty.server.Server.start(Server.java:470)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:89)
at org.eclipse.jetty.server.Server.doStart(Server.java:415)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
at org.springframework.boot.web.embedded.jetty.JettyWebServer.initialize(JettyWebServer.java:123)
at org.springframework.boot.web.embedded.jetty.JettyWebServer.<init>(JettyWebServer.java:90)
at org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory.getJettyWebServer(JettyServletWebServerFactory.java:438)
at org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory.getWebServer(JettyServletWebServerFactory.java:180)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:183)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:161)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:610)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:738)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:440)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1295)
at de.silab.smartlabel.server.Application.main(Application.java:28)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:50)
Caused by: java.util.concurrent.CompletionException: com.vaadin.flow.server.ExecutionFailedException: Vite build exited with a non zero status
at com.vaadin.base.devserver.startup.DevModeInitializer.runNodeTasks(DevModeInitializer.java:357)
at com.vaadin.base.devserver.startup.DevModeInitializer.lambda$initDevModeHandler$0(DevModeInitializer.java:293)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: com.vaadin.flow.server.ExecutionFailedException: Vite build exited with a non zero status
at com.vaadin.flow.server.frontend.TaskRunDevBundleBuild.runFrontendBuildTool(TaskRunDevBundleBuild.java:187)
at com.vaadin.flow.server.frontend.TaskRunDevBundleBuild.execute(TaskRunDevBundleBuild.java:99)
at com.vaadin.flow.server.frontend.NodeTasks.execute(NodeTasks.java:312)
at com.vaadin.base.devserver.startup.DevModeInitializer.runNodeTasks(DevModeInitializer.java:352)
... 8 more
2023-10-23T08:18:19,503 INFO [restartedMain] o.e.j.s.Server: Stopped Server@7cce6c5c{STOPPING}[11.0.17,sto=0]
2023-10-23T08:18:19,504 INFO [restartedMain] o.e.j.s.h.ContextHandler: Stopped o.s.b.w.e.j.JettyEmbeddedWebAppContext@3d10a63{application,/,[org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory$LoaderHidingResource@59848d20, file:///Users/xxxx/workspace/test-server/target/classes/META-INF/resources/, jar:file:/Users/xxxx/.m2/repository/com/vaadin/flow-push/24.2.0/flow-push-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/flow-client/24.2.0/flow-client-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/flow-dnd/24.2.0/flow-dnd-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-flow-components-base/24.2.0/vaadin-flow-components-base-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-button-flow/24.2.0/vaadin-button-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-combo-box-flow/24.2.0/vaadin-combo-box-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-date-picker-flow/24.2.0/vaadin-date-picker-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-time-picker-flow/24.2.0/vaadin-time-picker-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-select-flow/24.2.0/vaadin-select-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-grid-flow/24.2.0/vaadin-grid-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-virtual-list-flow/24.2.0/vaadin-virtual-list-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-messages-flow/24.2.0/vaadin-messages-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-renderer-flow/24.2.0/vaadin-renderer-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-text-field-flow/24.2.0/vaadin-text-field-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-context-menu-flow/24.2.0/vaadin-context-menu-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/com/vaadin/vaadin-menu-bar-flow/24.2.0/vaadin-menu-bar-flow-24.2.0.jar!/META-INF/resources, jar:file:/Users/xxxx/.m2/repository/org/webjars/swagger-ui/4.18.2/swagger-ui-4.18.2.jar!/META-INF/resources],STOPPED}
2023-10-23T08:18:19,504 WARN [restartedMain] o.s.c.s.AbstractApplicationContext: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server
2023-10-23T08:18:19,504 INFO [restartedMain] c.z.h.HikariDataSource: HikariPool-1 - Shutdown initiated...
2023-10-23T08:18:19,506 INFO [restartedMain] c.z.h.HikariDataSource: HikariPool-1 - Shutdown completed.
2023-10-23T08:18:19,518 INFO [restartedMain] o.s.b.a.l.ConditionEvaluationReportLogger:
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2023-10-23T08:18:19,530 ERROR [restartedMain] o.s.b.SpringApplication: Application run failed
org.springframework.context.ApplicationContextException: Unable to start web server
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:164)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:610)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:738)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:440)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1295)
at de.silab.smartlabel.server.Application.main(Application.java:28)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:50)
Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Jetty web server
at org.springframework.boot.web.embedded.jetty.JettyWebServer.initialize(JettyWebServer.java:129)
at org.springframework.boot.web.embedded.jetty.JettyWebServer.<init>(JettyWebServer.java:90)
at org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory.getJettyWebServer(JettyServletWebServerFactory.java:438)
at org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory.getWebServer(JettyServletWebServerFactory.java:180)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:183)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:161)
... 13 more
Caused by: java.lang.RuntimeException: Unable to initialize com.vaadin.flow.spring.VaadinServletContextInitializer$DevModeServletContextListener
at com.vaadin.flow.spring.VaadinServletContextInitializer$FailFastServletContextListener.contextInitialized(VaadinServletContextInitializer.java:199)
at com.vaadin.flow.spring.VaadinServletContextInitializer$CompositeServletContextListener.lambda$contextInitialized$0(VaadinServletContextInitializer.java:223)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at com.vaadin.flow.spring.VaadinServletContextInitializer$CompositeServletContextListener.contextInitialized(VaadinServletContextInitializer.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:1046)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:624)
at org.eclipse.jetty.server.handler.ContextHandler.contextInitialized(ContextHandler.java:983)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:904)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:306)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:533)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171)
at org.eclipse.jetty.server.Server.start(Server.java:470)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:89)
at org.eclipse.jetty.server.Server.doStart(Server.java:415)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
at org.springframework.boot.web.embedded.jetty.JettyWebServer.initialize(JettyWebServer.java:123)
... 18 more
Caused by: java.util.concurrent.CompletionException: com.vaadin.flow.server.ExecutionFailedException: Vite build exited with a non zero status
at com.vaadin.base.devserver.startup.DevModeInitializer.runNodeTasks(DevModeInitializer.java:357)
at com.vaadin.base.devserver.startup.DevModeInitializer.lambda$initDevModeHandler$0(DevModeInitializer.java:293)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: com.vaadin.flow.server.ExecutionFailedException: Vite build exited with a non zero status
at com.vaadin.flow.server.frontend.TaskRunDevBundleBuild.runFrontendBuildTool(TaskRunDevBundleBuild.java:187)
at com.vaadin.flow.server.frontend.TaskRunDevBundleBuild.execute(TaskRunDevBundleBuild.java:99)
at com.vaadin.flow.server.frontend.NodeTasks.execute(NodeTasks.java:312)
at com.vaadin.base.devserver.startup.DevModeInitializer.runNodeTasks(DevModeInitializer.java:352)
... 8 more
Same with me. Clean/clear doesn't seem to help.
Based on the errors you provided, it seems like the older grid package version is installed that has no vaadin-grid-selection-column-base-mixin.js
file (introduced in V24.2). But the generated JS tries to import it.
We will check that Flow Components use a correct version web components.
Could you please meanwhile run with debug log level (-X
flag) and check packages version, give it to us if possible?
It might be a case that your project installs grid package from V24.1.
-X as parameter in the maven commandline?
Yes, like mvn clean install -X
Somewhere in the output it states: [DEBUG] adding entry WEB-INF/lib/vaadin-accordion-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-app-layout-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-avatar-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-button-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-charts-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-checkbox-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-combo-box-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-confirm-dialog-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-context-menu-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-core-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-core-internal-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-crud-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-custom-field-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-date-picker-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-date-time-picker-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-details-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-dev-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-dev-bundle-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-dev-server-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-dialog-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-eventbus-0.5.1.jar [DEBUG] adding entry WEB-INF/lib/vaadin-field-highlighter-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-flow-components-base-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-form-layout-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-geo-location-flow-v14-2.0.1.jar [DEBUG] adding entry WEB-INF/lib/vaadin-grid-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-icons-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-list-box-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-login-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-lumo-theme-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-map-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-material-theme-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-menu-bar-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-messages-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-notification-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-ordered-layout-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-progress-bar-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-radio-button-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-renderer-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-select-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-side-nav-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-split-layout-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-spring-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-spring-boot-starter-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-tabs-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-text-field-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-time-picker-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-upload-flow-24.2.0.jar [DEBUG] adding entry WEB-INF/lib/vaadin-virtual-list-flow-24.2.0.jar
Is that the info you need?
@wegerv you should also see something regarding npm packages, similar to this
[DEBUG] Old Vaadin provided dependency '@vaadin/vaadin-material-styles':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/vaadin-themable-mixin':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/vaadin-usage-statistics':'2.1.2' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/vertical-layout':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/virtual-list':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency 'construct-style-sheets-polyfill':'3.1.0' has been removed from package.json
[DEBUG] Old Vaadin provided dependency 'date-fns':'2.29.3' has been removed from package.json
[DEBUG] Old Vaadin provided dependency 'lit':'2.8.0' has been removed from package.json
[DEBUG] Old Vaadin provided dependency 'mobile-drag-drop':'2.3.0-rc.2' has been removed from package.json
[DEBUG] Old Vaadin provided dependency 'proj4':'2.9.0' has been removed from package.json
[DEBUG] Added "@vaadin/common-frontend": "0.0.18" line.
[DEBUG] Added "construct-style-sheets-polyfill": "3.1.0" line.
[DEBUG] Added "lit": "2.8.0" line.
[DEBUG] Added "@vaadin/router": "1.7.5" line.
[DEBUG] Added "@polymer/polymer": "3.5.1" line.
[DEBUG] Added 5 default dependencies to main package.json
[DEBUG] Added "@vaadin/form-layout": "24.2.0" line.
[DEBUG] Added "@vaadin/checkbox-group": "24.2.0" line.
[DEBUG] Added "@vaadin/list-box": "24.2.0" line.
[DEBUG] Added "@vaadin/upload": "24.2.0" line.
[DEBUG] Added "@vaadin/app-layout": "24.2.0" line.
[DEBUG] Added "@vaadin/integer-field": "24.2.0" line.
[DEBUG] Added "@vaadin/select": "24.2.0" line.
[DEBUG] Added "@vaadin/confirm-dialog": "24.2.0" line.
[DEBUG] Added "@vaadin-component-factory/vcf-nav": "1.0.6" line.
[DEBUG] Added "@vaadin/grid": "24.2.0" line.
Hello,
Thanks for your replies.
All package are in good version : vaadin-grid-flow-24.2.0 for exemple.
I have something like this with debug mode :
[INFO] Checking if a production mode bundle build is needed
[DEBUG] Old Vaadin provided dependency '@polymer/polymer':'3.5.1' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/a11y-base':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/accordion':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/app-layout':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/avatar':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/avatar-group':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/board':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/bundles':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/button':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/charts':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/checkbox':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/checkbox-group':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/combo-box':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/common-frontend':'0.0.18' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/component-base':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/confirm-dialog':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/context-menu':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/cookie-consent':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/crud':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/custom-field':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/date-picker':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/date-time-picker':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/details':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/dialog':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/email-field':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/field-base':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/field-highlighter':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/form-layout':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/grid':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/grid-pro':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/horizontal-layout':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/icon':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/icons':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/input-container':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/integer-field':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/item':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/list-box':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/lit-renderer':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/login':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/map':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/menu-bar':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/message-input':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/message-list':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/multi-select-combo-box':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/notification':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/number-field':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/overlay':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/password-field':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/polymer-legacy-adapter':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/progress-bar':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/radio-group':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/rich-text-editor':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/router':'1.7.5' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/scroller':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/select':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/side-nav':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/split-layout':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/tabs':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/tabsheet':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/text-area':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/text-field':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/time-picker':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/tooltip':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/upload':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/vaadin-development-mode-detector':'2.0.6' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/vaadin-lumo-styles':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/vaadin-material-styles':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/vaadin-themable-mixin':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/vaadin-usage-statistics':'2.1.2' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/vertical-layout':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/virtual-list':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency 'construct-style-sheets-polyfill':'3.1.0' has been removed from package.json
[DEBUG] Old Vaadin provided dependency 'date-fns':'2.29.3' has been removed from package.json
[DEBUG] Old Vaadin provided dependency 'lit':'2.7.6' has been removed from package.json
[DEBUG] Old Vaadin provided dependency 'mobile-drag-drop':'2.3.0-rc.2' has been removed from package.json
[DEBUG] Old Vaadin provided dependency 'moment':'2.29.1' has been removed from package.json
[DEBUG] Old Vaadin provided dependency 'proj4':'2.9.0' has been removed from package.json
[DEBUG] Old Vaadin provided dependency 'vis-timeline':'7.4.9' has been removed from package.json
[DEBUG] Added "@vaadin/common-frontend": "0.0.18" line.
[DEBUG] Added "construct-style-sheets-polyfill": "3.1.0" line.
[DEBUG] Added "lit": "2.7.6" line.
[DEBUG] Added "@vaadin/router": "1.7.5" line.
[DEBUG] Added "@polymer/polymer": "3.5.1" line.
[DEBUG] Added 5 default dependencies to main package.json
[DEBUG] Added "@vaadin/form-layout": "24.1.10" line.
[DEBUG] Added "@vaadin/checkbox-group": "24.1.10" line.
[DEBUG] Added "@vaadin/list-box": "24.1.10" line.
[DEBUG] Added "@vaadin/upload": "24.1.10" line.
[DEBUG] Added "@vaadin/app-layout": "24.1.10" line.
[DEBUG] Added "@vaadin/integer-field": "24.1.10" line.
[DEBUG] Added "@vaadin/select": "24.1.10" line.
[DEBUG] Added "@vaadin/confirm-dialog": "24.1.10" line.
[DEBUG] Added "@vaadin/grid": "24.1.10" line.
[DEBUG] Added "@vaadin/tabsheet": "24.1.10" line.
[DEBUG] Added "@vaadin/text-area": "24.1.10" line.
[DEBUG] Added "@vaadin/charts": "24.1.10" line.
[DEBUG] Added "@vaadin/context-menu": "24.1.10" line.
[DEBUG] Added "@vaadin/password-field": "24.1.10" line.
[DEBUG] Added "@vaadin/date-time-picker": "24.1.10" line.
[DEBUG] Added "vis-timeline": "7.4.9" line.
[DEBUG] Added "@vaadin/progress-bar": "24.1.10" line.
[DEBUG] Added "@vaadin/multi-select-combo-box": "24.1.10" line.
[DEBUG] Added "proj4": "2.9.0" line.
[DEBUG] Added "@vaadin/crud": "24.1.10" line.
[DEBUG] Added "@vaadin/time-picker": "24.1.10" line.
[DEBUG] Added "@vaadin/number-field": "24.1.10" line.
[DEBUG] Added "@vaadin/tooltip": "24.1.10" line.
[DEBUG] Added "@vaadin/avatar-group": "24.1.10" line.
[DEBUG] Added "@vaadin/vertical-layout": "24.1.10" line.
[DEBUG] Added "@vaadin/login": "24.1.10" line.
[DEBUG] Added "@vaadin/side-nav": "24.1.10" line.
[DEBUG] Added "@vaadin/details": "24.1.10" line.
[DEBUG] Added "@vaadin/icons": "24.1.10" line.
[DEBUG] Added "@vaadin/button": "24.1.10" line.
[DEBUG] Added "@vaadin/vaadin-themable-mixin": "24.1.10" line.
[DEBUG] Added "@vaadin/board": "24.1.10" line.
[DEBUG] Added "@vaadin/accordion": "24.1.10" line.
[DEBUG] Added "@vaadin/avatar": "24.1.10" line.
[DEBUG] Added "@vaadin/vaadin-material-styles": "24.1.10" line.
[DEBUG] Added "@vaadin/grid-pro": "24.1.10" line.
[DEBUG] Added "@vaadin/radio-group": "24.1.10" line.
[DEBUG] Added "@vaadin/cookie-consent": "24.1.10" line.
[DEBUG] Added "@vaadin/horizontal-layout": "24.1.10" line.
[DEBUG] Added "date-fns": "2.29.3" line.
[DEBUG] Added "@vaadin/virtual-list": "24.1.10" line.
[DEBUG] Added "@vaadin/map": "24.1.10" line.
[DEBUG] Added "@vaadin/combo-box": "24.1.10" line.
[DEBUG] Added "@vaadin/menu-bar": "24.1.10" line.
[DEBUG] Added "@vaadin/message-list": "24.1.10" line.
[DEBUG] Added "@vaadin/custom-field": "24.1.10" line.
[DEBUG] Added "moment": "2.29.1" line.
[DEBUG] Added "@vaadin/bundles": "24.1.10" line.
[DEBUG] Added "@vaadin/field-highlighter": "24.1.10" line.
[DEBUG] Added "@vaadin/date-picker": "24.1.10" line.
[DEBUG] Added "@vaadin/dialog": "24.1.10" line.
[DEBUG] Added "@vaadin/polymer-legacy-adapter": "24.1.10" line.
[DEBUG] Added "@vaadin/item": "24.1.10" line.
[DEBUG] Added "mobile-drag-drop": "2.3.0-rc.2" line.
[DEBUG] Added "@vaadin/tabs": "24.1.10" line.
[DEBUG] Added "@vaadin/icon": "24.1.10" line.
[DEBUG] Added "@vaadin/split-layout": "24.1.10" line.
[DEBUG] Added "@vaadin/text-field": "24.1.10" line.
[DEBUG] Added "@vaadin/checkbox": "24.1.10" line.
[DEBUG] Added "@vaadin/notification": "24.1.10" line.
[DEBUG] Added "@vaadin/scroller": "24.1.10" line.
[DEBUG] Added "@vaadin/rich-text-editor": "24.1.10" line.
[DEBUG] Added "@vaadin/vaadin-lumo-styles": "24.1.10" line.
[DEBUG] Added "@vaadin/message-input": "24.1.10" line.
[DEBUG] Added "@vaadin/email-field": "24.1.10" line.
[INFO] Dependency vis-timeline is missing from the bundle
[INFO] Dependency moment is missing from the bundle
[INFO] A production mode bundle build is needed
@ElZorrito thanks for the logs provided. You are getting:
Added "@vaadin/grid-pro": "24.1.10" line.
But
Added "@vaadin/grid-pro": "24.2.0" line.
is expected if you're using Vaadin 24.2.0.
Could you guys check what version of @vaadin/grid
you finally have in package.json
when build is finished?
I have @vaadin/grid": "24.2.0
And do you have {project.root}/node_modules/@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js
file?
Hello,
Thanks for your replies.
All package are in good version : vaadin-grid-flow-24.2.0 for exemple.
I have something like this with debug mode :
[INFO] Checking if a production mode bundle build is needed [DEBUG] Old Vaadin provided dependency '@polymer/polymer':'3.5.1' has been removed from package.json ... [DEBUG] Old Vaadin provided dependency '@vaadin/grid':'24.1.10' has been removed from package.json [DEBUG] Old Vaadin provided dependency '@vaadin/grid-pro':'24.1.10' has been removed from package.json [DEBUG] Old Vaadin provided dependency '@vaadin/horizontal-layout':'24.1.10' has been removed from package.json ... [DEBUG] Added "@vaadin/grid-pro": "24.1.10" line. [DEBUG] Added "@vaadin/radio-group": "24.1.10" line. ... [INFO] Dependency vis-timeline is missing from the bundle [INFO] Dependency moment is missing from the bundle [INFO] A production mode bundle build is needed
Sorry I make a mistake, that's the log of another project in vaadin 24.1.12... sorry.
To had this log I launched : mvn clean compile -P production -x
I try same command with my project in 24.2.0 and I have this log :
[ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:24.2.0:build-frontend (default) on project myProject: Execution default of goal com.vaadin:vaadin-maven-plugin:24.2.0:build-frontend failed: Vite process exited with non-zero exit code.
[ERROR] Stderr: 'vite v4.4.11 building for production...
[ERROR] transforming...
[ERROR] ✓ 75 modules transformed.
[ERROR] ✓ built in 735ms
[ERROR] [vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
[ERROR] This is most likely unintended because it can break your application at runtime.
[ERROR] If you do want to externalize this module explicitly add it to
[ERROR] `build.rollupOptions.external`
[ERROR] error during build:
[ERROR] Error: [vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
[ERROR] This is most likely unintended because it can break your application at runtime.
[ERROR] If you do want to externalize this module explicitly add it to
[ERROR] `build.rollupOptions.external`
[ERROR] at viteWarn (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48205:27)
[ERROR] at onwarn (C:\path\eclipsePath\workspace\myProject\vite.config.ts:1192:11)
[ERROR] at onRollupWarning (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48234:9)
[ERROR] at onwarn (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:47965:13)
[ERROR] at file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24271:13
[ERROR] at Object.logger [as onLog] (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:25945:9)
[ERROR] at ModuleLoader.handleInvalidResolvedId (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24857:26)
[ERROR] at file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24817:26
[ERROR] ': Unexpected exit value: 1, allowed exit values: [0], executed command [C:\Users\user\.vaadin\node\node.exe, C:\path\eclipsePath\workspace\myProject\node_modules\vite\bin\vite.js, build] in directory C:\path\eclipsePath\workspace\myProject with environment {..
[ERROR] [36mvite v4.4.11 building for production...
[ERROR] transforming...
[ERROR] ✓ 75 modules transformed.
[ERROR] ✓ built in 735ms
[ERROR] [vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
[ERROR] This is most likely unintended because it can break your application at runtime.
[ERROR] If you do want to externalize this module explicitly add it to
[ERROR] `build.rollupOptions.external`
[ERROR] error during build:
[ERROR] Error: [vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
[ERROR] This is most likely unintended because it can break your application at runtime.
[ERROR] If you do want to externalize this module explicitly add it to
[ERROR] `build.rollupOptions.external`
[ERROR] at viteWarn (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48205:27)
[ERROR] at onwarn (C:\path\eclipsePath\workspace\myProject\vite.config.ts:1192:11)
[ERROR] at onRollupWarning (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48234:9)
[ERROR] at onwarn (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:47965:13)
[ERROR] at file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24271:13
[ERROR] at Object.logger [as onLog] (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:25945:9)
[ERROR] at ModuleLoader.handleInvalidResolvedId (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24857:26)
[ERROR] at file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24817:26
[ERROR] -> [Help 1]
In package.json
, I have @vaadin/grid": "24.2.0"
, but in {project.root}/node_modules/@vaadin/grid/src/
, there is no file vaadin-grid-selection-column-base-mixin.js
.
@ElZorrito could you please post the full log?
Yes, here he is :
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< com.domaine:myProject >-----------------------
[INFO] Building myProject 2.1.2
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ myProject ---
[INFO] Deleting C:\path\eclipsePath\workspace\myProject\target
[INFO]
[INFO] --- build-helper-maven-plugin:3.3.0:timestamp-property (timestamp-property) @ myProject ---
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ myProject ---
[INFO] Copying 1 resource from src\main\resources to target\classes
[INFO] Copying 126 resources from src\main\resources to target\classes
[INFO]
[INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ myProject ---
[INFO] Changes detected - recompiling the module! :source
[INFO] Compiling 260 source files with javac [debug release 17] to target\classes
[INFO] Hibernate JPA 2 Static-Metamodel Generator 6.2.9.Final
[INFO]
[INFO] --- vaadin-maven-plugin:24.2.0:prepare-frontend (default) @ myProject ---
[INFO] Reflections took 1518 ms to scan 198 urls, producing 10618 keys and 54424 values
[INFO] Copying frontend resources from jar files ...
[INFO] Visited 197 resources. Took 678 ms.
[INFO]
[INFO] --- vaadin-maven-plugin:24.2.0:build-frontend (default) @ myProject ---
[INFO] Reflections took 853 ms to scan 198 urls, producing 10618 keys and 54424 values
[INFO] Scanning classes to find frontend configurations and dependencies...
[INFO] Visited 6217 classes. Took 4145 ms.
[INFO] Checking if a production mode bundle build is needed
[INFO] Dependency element-match-media is missing from the bundle
[INFO] A production mode bundle build is needed
[INFO] Running `pnpm install` to resolve and optionally download frontend dependencies. This may take a moment, please stand by...
[INFO] using 'C:\Users\user\.vaadin\node\node.exe C:\Users\user\.vaadin\node\node_modules\npm\bin\npx-cli.js --yes --quiet pnpm --shamefully-hoist=true --ignore-scripts install' for frontend package installation
[INFO] Frontend dependencies resolved successfully.
[INFO] Copying frontend resources from jar files ...
[INFO] Visited 197 resources. Took 279 ms.
[INFO] Running Vite ...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:12 min
[INFO] Finished at: 2023-10-24T16:33:15+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:24.2.0:build-frontend (default) on project myProject: Execution default of goal com.vaadin:vaadin-maven-plugin:24.2.0:build-frontend failed: Vite process exited with non-zero exit code.
[ERROR] Stderr: 'vite v4.4.11 building for production...
[ERROR] transforming...
[ERROR] ✓ 79 modules transformed.
[ERROR] ✓ built in 958ms
[ERROR] [vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
[ERROR] This is most likely unintended because it can break your application at runtime.
[ERROR] If you do want to externalize this module explicitly add it to
[ERROR] `build.rollupOptions.external`
[ERROR] error during build:
[ERROR] Error: [vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
[ERROR] This is most likely unintended because it can break your application at runtime.
[ERROR] If you do want to externalize this module explicitly add it to
[ERROR] `build.rollupOptions.external`
[ERROR] at viteWarn (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48205:27)
[ERROR] at onwarn (C:\path\eclipsePath\workspace\myProject\vite.config.ts:1192:11)
[ERROR] at onRollupWarning (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48234:9)
[ERROR] at onwarn (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:47965:13)
[ERROR] at file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24271:13
[ERROR] at Object.logger [as onLog] (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:25945:9)
[ERROR] at ModuleLoader.handleInvalidResolvedId (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24857:26)
[ERROR] at file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24817:26
[ERROR] ': Unexpected exit value: 1, allowed exit values: [0], executed command [C:\Users\user\.vaadin\node\node.exe, C:\path\eclipsePath\workspace\myProject\node_modules\vite\bin\vite.js, build] in directory C:\path\eclipsePath\workspace\myProject with environment {...}, output was 2243 bytes:
[ERROR] [36mvite v4.4.11 building for production...
[ERROR] transforming...
[ERROR] ✓ 79 modules transformed.
[ERROR] ✓ built in 958ms
[ERROR] [vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
[ERROR] This is most likely unintended because it can break your application at runtime.
[ERROR] If you do want to externalize this module explicitly add it to
[ERROR] `build.rollupOptions.external`
[ERROR] error during build:
[ERROR] Error: [vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
[ERROR] This is most likely unintended because it can break your application at runtime.
[ERROR] If you do want to externalize this module explicitly add it to
[ERROR] `build.rollupOptions.external`
[ERROR] at viteWarn (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48205:27)
[ERROR] at onwarn (C:\path\eclipsePath\workspace\myProject\vite.config.ts:1192:11)
[ERROR] at onRollupWarning (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48234:9)
[ERROR] at onwarn (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:47965:13)
[ERROR] at file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24271:13
[ERROR] at Object.logger [as onLog] (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:25945:9)
[ERROR] at ModuleLoader.handleInvalidResolvedId (file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24857:26)
[ERROR] at file:///C:/path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24817:26
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
I'm experiencing this too. Tried removing "build","dev_bundle", "node_modules", "frontend/generated" to no avail. package.json has "24.2.0" versions
For some reason, my Production version (build at 16:23) is working, but my Development version (build at 16:48) does not...
@ElZorrito sorry to bother you, but we need a build with debug logs
Could you run it again with -X
flag? e.g. mvn -X package -Pproduction
For more info: The log (interesting part..) of the (working) Production version:
[INFO] --- vaadin-maven-plugin:24.2.0:prepare-frontend (default) @ trafficviewer-vaadin-framework --- [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=43900, ConflictMarker.markTime=26000, ConflictMarker.nodeCount=74, ConflictIdSorter.graphTime=25500, ConflictIdSorter.topsortTime=21900, ConflictIdSorter.conflictIdCount=49, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=403700, ConflictResolver.conflictItemCount=74, DefaultDependencyCollector.collectTime=24825000, DefaultDependencyCollector.transformTime=544200} [DEBUG] com.vaadin:vaadin-maven-plugin:jar:24.2.0 [DEBUG] com.vaadin:flow-maven-plugin:jar:24.2.0:compile [DEBUG] com.vaadin:flow-plugin-base:jar:24.2.0:compile [DEBUG] com.vaadin:flow-server:jar:24.2.0:compile [DEBUG] com.vaadin:flow-push:jar:24.2.0:compile [DEBUG] com.vaadin.external.atmosphere:atmosphere-runtime:jar:3.0.3.slf4jvaadin1:compile [DEBUG] com.vaadin.servletdetector:throw-if-servlet3:jar:1.0.2:compile [DEBUG] com.vaadin.external.gwt:gwt-elemental:jar:2.8.2.vaadin2:compile [DEBUG] org.apache.commons:commons-fileupload2-jakarta:jar:2.0.0-M1:compile [DEBUG] org.apache.commons:commons-fileupload2-core:jar:2.0.0-M1:compile [DEBUG] com.fasterxml.jackson.core:jackson-core:jar:2.15.2:compile [DEBUG] com.fasterxml.jackson.core:jackson-databind:jar:2.15.2:compile [DEBUG] com.fasterxml.jackson.core:jackson-annotations:jar:2.15.2:compile [DEBUG] com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.15.2:compile [DEBUG] org.jsoup:jsoup:jar:1.16.1:compile [DEBUG] com.helger:ph-css:jar:7.0.1:compile [DEBUG] com.helger.commons:ph-commons:jar:11.1.0:compile [DEBUG] org.ow2.asm:asm:jar:9.5:compile [DEBUG] com.vaadin.external:gentyref:jar:1.2.0.vaadin1:compile [DEBUG] org.apache.commons:commons-compress:jar:1.24.0:compile [DEBUG] com.vaadin:license-checker:jar:1.12.3:compile [DEBUG] com.github.oshi:oshi-core:jar:6.4.1:compile [DEBUG] net.java.dev.jna:jna:jar:5.13.0:compile [DEBUG] net.java.dev.jna:jna-platform:jar:5.13.0:compile [DEBUG] com.nimbusds:nimbus-jose-jwt:jar:9.31:compile [DEBUG] org.lucee:jcip-annotations:jar:1.0.0:compile [DEBUG] org.reflections:reflections:jar:0.10.2:compile [DEBUG] org.javassist:javassist:jar:3.28.0-GA:compile [DEBUG] com.google.code.findbugs:jsr305:jar:3.0.2:compile [DEBUG] org.zeroturnaround:zt-exec:jar:1.12:compile [DEBUG] com.google.gwt:gwt-elemental:jar:2.9.0:compile [DEBUG] org.codehaus.plexus:plexus-build-api:jar:1.2.0:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:4.0.0:compile [DEBUG] javax.inject:javax.inject:jar:1:compile [DEBUG] org.slf4j:slf4j-api:jar:1.7.36:compile [DEBUG] org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile [DEBUG] org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.9.0.M2:compile [DEBUG] com.vaadin:flow-polymer2lit:jar:24.2.0:compile [DEBUG] commons-io:commons-io:jar:2.13.0:compile [DEBUG] org.apache.commons:commons-text:jar:1.10.0:compile [DEBUG] org.apache.commons:commons-lang3:jar:3.12.0:compile [DEBUG] org.jboss.forge.roaster:roaster-api:jar:2.29.0.Final:compile [DEBUG] org.jboss.forge.roaster:roaster-jdt:jar:2.29.0.Final:runtime [DEBUG] com.vaadin:vaadin-prod-bundle:jar:24.2.0:compile [DEBUG] com.vaadin:vaadin-dev-bundle:jar:24.2.0:compile [DEBUG] com.vaadin:vaadin-dev-server:jar:24.2.0:compile [DEBUG] com.vaadin:open:jar:8.5.0:compile [DEBUG] com.github.javaparser:javaparser-core:jar:3.25.5:compile [DEBUG] io.methvin:directory-watcher:jar:0.18.0:compile [DEBUG] Created new class realm plugin>com.vaadin:vaadin-maven-plugin:24.2.0 [DEBUG] Importing foreign packages into class realm plugin>com.vaadin:vaadin-maven-plugin:24.2.0 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm plugin>com.vaadin:vaadin-maven-plugin:24.2.0 [DEBUG] Included: com.vaadin:vaadin-maven-plugin:jar:24.2.0 [DEBUG] Included: com.vaadin:flow-maven-plugin:jar:24.2.0 [DEBUG] Included: com.vaadin:flow-plugin-base:jar:24.2.0 [DEBUG] Included: com.vaadin:flow-server:jar:24.2.0 [DEBUG] Included: com.vaadin:flow-push:jar:24.2.0 [DEBUG] Included: com.vaadin.external.atmosphere:atmosphere-runtime:jar:3.0.3.slf4jvaadin1 [DEBUG] Included: com.vaadin.servletdetector:throw-if-servlet3:jar:1.0.2 [DEBUG] Included: com.vaadin.external.gwt:gwt-elemental:jar:2.8.2.vaadin2 [DEBUG] Included: org.apache.commons:commons-fileupload2-jakarta:jar:2.0.0-M1 [DEBUG] Included: org.apache.commons:commons-fileupload2-core:jar:2.0.0-M1 [DEBUG] Included: com.fasterxml.jackson.core:jackson-core:jar:2.15.2 [DEBUG] Included: com.fasterxml.jackson.core:jackson-databind:jar:2.15.2 [DEBUG] Included: com.fasterxml.jackson.core:jackson-annotations:jar:2.15.2 [DEBUG] Included: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.15.2 [DEBUG] Included: org.jsoup:jsoup:jar:1.16.1 [DEBUG] Included: com.helger:ph-css:jar:7.0.1 [DEBUG] Included: com.helger.commons:ph-commons:jar:11.1.0 [DEBUG] Included: org.ow2.asm:asm:jar:9.5 [DEBUG] Included: com.vaadin.external:gentyref:jar:1.2.0.vaadin1 [DEBUG] Included: org.apache.commons:commons-compress:jar:1.24.0 [DEBUG] Included: com.vaadin:license-checker:jar:1.12.3 [DEBUG] Included: com.github.oshi:oshi-core:jar:6.4.1 [DEBUG] Included: net.java.dev.jna:jna:jar:5.13.0 [DEBUG] Included: net.java.dev.jna:jna-platform:jar:5.13.0 [DEBUG] Included: com.nimbusds:nimbus-jose-jwt:jar:9.31 [DEBUG] Included: org.lucee:jcip-annotations:jar:1.0.0 [DEBUG] Included: org.reflections:reflections:jar:0.10.2 [DEBUG] Included: org.javassist:javassist:jar:3.28.0-GA [DEBUG] Included: com.google.code.findbugs:jsr305:jar:3.0.2 [DEBUG] Included: org.zeroturnaround:zt-exec:jar:1.12 [DEBUG] Included: com.google.gwt:gwt-elemental:jar:2.9.0 [DEBUG] Included: org.codehaus.plexus:plexus-build-api:jar:1.2.0 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:4.0.0 [DEBUG] Included: org.sonatype.plexus:plexus-build-api:jar:0.0.7 [DEBUG] Included: com.vaadin:flow-polymer2lit:jar:24.2.0 [DEBUG] Included: commons-io:commons-io:jar:2.13.0 [DEBUG] Included: org.apache.commons:commons-text:jar:1.10.0 [DEBUG] Included: org.apache.commons:commons-lang3:jar:3.12.0 [DEBUG] Included: org.jboss.forge.roaster:roaster-api:jar:2.29.0.Final [DEBUG] Included: org.jboss.forge.roaster:roaster-jdt:jar:2.29.0.Final [DEBUG] Included: com.vaadin:vaadin-prod-bundle:jar:24.2.0 [DEBUG] Included: com.vaadin:vaadin-dev-bundle:jar:24.2.0 [DEBUG] Included: com.vaadin:vaadin-dev-server:jar:24.2.0 [DEBUG] Included: com.vaadin:open:jar:8.5.0 [DEBUG] Included: com.github.javaparser:javaparser-core:jar:3.25.5 [DEBUG] Included: io.methvin:directory-watcher:jar:0.18.0
[...]
List of npm dependencies found in the project:
Comment is too long with full log, I put end here :
>>> Running prepare-frontend
System.properties:
project.basedir: C:\Path\eclipsePath\workspace\myProject
Goal parameters:
npmFolder: C:\Path\eclipsePath\workspace\myProject
Token file: C:\Path\eclipsePath\workspace\myProject\target\classes\META-INF\VAADIN\config\flow-build-info.json
Token content: {"productionMode":false,"eagerServerLoad":false,"npmFolder":"C:\\Path\\eclipsePath\\workspace\\myProject","node.version":"v20.8.0","node.download.root":"https://nodejs.org/dist/","frontendFolder":"C:\\Path\\eclipsePath\\workspace\\myProject\\frontend","connect.javaSourceFolder":"C:\\Path\\eclipsePath\\workspace\\myProject\\src\\main\\java","javaResourceFolder":"C:\\Path\\eclipsePath\\workspace\\myProject\\src\\main\\resources","connect.applicationProperties":"C:\\Path\\eclipsePath\\workspace\\myProject\\src\\main\\resources\\application.properties","connect.openApiFile":"C:\\Path\\eclipsePath\\workspace\\myProject\\target\\generated-resources\\openapi.json","project.frontend.generated":"C:\\Path\\eclipsePath\\workspace\\myProject\\frontend\\generated","pnpm.enable":true,"require.home.node":false,"build.folder":"target"}
[DEBUG] Command '[where, node.exe]' failed with exit code '1'
[DEBUG] Command '[C:\Users\user\.vaadin\node\node.exe, -v]' has non-empty stderr but assuming this is fine:
''
[DEBUG] Using node 20.8.0 located at C:\Users\user\.vaadin\node\node.exe
[DEBUG] Command '[where, npm.cmd]' failed with exit code '1'
[DEBUG] Command '[where, node.exe]' failed with exit code '1'
[DEBUG] Command '[C:\Users\user\.vaadin\node\node.exe, -v]' has non-empty stderr but assuming this is fine:
''
[DEBUG] Command '[C:\Users\user\.vaadin\node\node.exe, -v]' has non-empty stderr but assuming this is fine:
''
[DEBUG] Using npm 10.1.0 located at C:\Users\user\.vaadin\node\node.exe
[INFO] Reflections took 1539 ms to scan 198 urls, producing 10618 keys and 54424 values
[DEBUG] Properties loaded from classpath.
[DEBUG] Properties loaded from classpath.
[DEBUG] Added "lit": "2.8.0" line.
[DEBUG] Added "rollup-plugin-visualizer": "5.9.2" line.
[DEBUG] Added "glob": "10.3.3" line.
[DEBUG] Added "async": "3.2.4" line.
[DEBUG] Added "vite": "4.4.11" line.
[DEBUG] Added "vite-plugin-checker": "0.6.1" line.
[DEBUG] Added "typescript": "5.1.6" line.
[DEBUG] Added "@vitejs/plugin-react": "4.0.4" line.
[DEBUG] Added 8 default dependencies to main package.json
[DEBUG] writing file C:\Path\eclipsePath\workspace\myProject\package.json.
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\frontend\generated\vaadin-featureflags.js' because content does not match
[INFO] Copying frontend resources from jar files ...
[INFO] Visited 197 resources. Took 533 ms.
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\target\vaadin-dev-server-settings.json' because content does not match
[INFO]
[INFO] --- vaadin-maven-plugin:24.2.0:build-frontend (default) @ myProject ---
[DEBUG] Configuring mojo com.vaadin:vaadin-maven-plugin:24.2.0:build-frontend from plugin realm ClassRealm[plugin>com.vaadin:vaadin-maven-plugin:24.2.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@659e0bfd]
[DEBUG] Configuring mojo 'com.vaadin:vaadin-maven-plugin:24.2.0:build-frontend' with basic configurator -->
[DEBUG] (f) applicationProperties = C:\Path\eclipsePath\workspace\myProject\src\main\resources\application.properties
[DEBUG] (f) ciBuild = false
[DEBUG] (f) forceProductionBuild = false
[DEBUG] (f) frontendDirectory = C:\Path\eclipsePath\workspace\myProject\frontend
[DEBUG] (f) frontendHotdeploy = false
[DEBUG] (f) frontendResourcesDirectory = C:\Path\eclipsePath\workspace\myProject\src\main\resources\META-INF\resources\frontend
[DEBUG] (f) generateBundle = true
[DEBUG] (f) generateEmbeddableWebComponents = true
[DEBUG] (f) generatedTsFolder = C:\Path\eclipsePath\workspace\myProject\frontend\generated
[DEBUG] (f) javaResourceFolder = C:\Path\eclipsePath\workspace\myProject\src\main\resources
[DEBUG] (f) javaSourceFolder = C:\Path\eclipsePath\workspace\myProject\src\main\java
[DEBUG] (f) nodeAutoUpdate = true
[DEBUG] (f) nodeVersion = v20.8.0
[DEBUG] (f) npmFolder = C:\Path\eclipsePath\workspace\myProject
[DEBUG] (f) openApiJsonFile = C:\Path\eclipsePath\workspace\myProject\target\generated-resources\openapi.json
[DEBUG] (f) optimizeBundle = true
[DEBUG] (f) pnpmEnable = true
[DEBUG] (f) postinstallPackages = []
[DEBUG] (f) project = MavenProject: com.domaine:myProject:2.1.2 @ C:\Path\eclipsePath\workspace\myProject\pom.xml
[DEBUG] (f) projectBasedir = C:\Path\eclipsePath\workspace\myProject
[DEBUG] (f) projectBuildDir = C:\Path\eclipsePath\workspace\myProject\target
[DEBUG] (f) requireHomeNodeExec = false
[DEBUG] (f) resourceOutputDirectory = C:\Path\eclipsePath\workspace\myProject\target\classes\META-INF\VAADIN
[DEBUG] (f) runNpmInstall = true
[DEBUG] (f) skipDevBundleRebuild = false
[DEBUG] (f) useGlobalPnpm = false
[DEBUG] (f) webpackOutputDirectory = C:\Path\eclipsePath\workspace\myProject\target\classes\META-INF\VAADIN\webapp
[DEBUG] -- end configuration --
[INFO] Reflections took 853 ms to scan 198 urls, producing 10618 keys and 54424 values
[DEBUG] Properties loaded from classpath.
[DEBUG] Properties loaded from classpath.
[INFO] Scanning classes to find frontend configurations and dependencies...
[DEBUG] Reading default values for com.vaadin.flow.server.LoadDependenciesOnStartup
[DEBUG] Default values for com.vaadin.flow.server.LoadDependenciesOnStartup: {value=[]}
[DEBUG] Classes reachable from ...
[...]
[DEBUG] Reading default values for com.vaadin.flow.component.dependency.NpmPackage
[DEBUG] Default values for com.vaadin.flow.component.dependency.NpmPackage: {}
[DEBUG] Reading default values for com.vaadin.flow.server.PWA
[DEBUG] Default values for com.vaadin.flow.server.PWA: {offlinePath=, offline=true, backgroundColor=#f2f2f2, startPath=., themeColor=#ffffff, display=standalone, offlineResources=[], description=, manifestPath=manifest.webmanifest, iconPath=icons/icon.png}
[DEBUG] No value for iconPath using default: icons/icon.png
[DEBUG] No value for manifestPath using default: manifest.webmanifest
[DEBUG] No value for offlinePath using default:
[DEBUG] No value for display using default: standalone
[DEBUG] No value for startPath using default: .
[DEBUG] No value for offlineResources using default: []
[DEBUG] No value for offline using default: true
[INFO] Visited 6217 classes. Took 12659 ms.
[INFO] Checking if a production mode bundle build is needed
[DEBUG] Old Vaadin provided dependency '@polymer/polymer':'3.5.1' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/a11y-base':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/accordion':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/app-layout':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/avatar':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/avatar-group':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/board':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/bundles':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/button':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/charts':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/checkbox':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/checkbox-group':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/combo-box':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/common-frontend':'0.0.18' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/component-base':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/confirm-dialog':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/context-menu':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/cookie-consent':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/crud':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/custom-field':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/date-picker':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/date-time-picker':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/details':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/dialog':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/email-field':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/field-base':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/field-highlighter':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/form-layout':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/grid':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/grid-pro':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/horizontal-layout':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/icon':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/icons':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/input-container':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/integer-field':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/item':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/list-box':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/lit-renderer':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/login':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/map':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/menu-bar':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/message-input':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/message-list':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/multi-select-combo-box':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/notification':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/number-field':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/overlay':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/password-field':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/polymer-legacy-adapter':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/progress-bar':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/radio-group':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/rich-text-editor':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/router':'1.7.5' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/scroller':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/select':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/side-nav':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/split-layout':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/tabs':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/tabsheet':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/text-area':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/text-field':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/time-picker':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/tooltip':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/upload':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/vaadin-development-mode-detector':'2.0.6' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/vaadin-lumo-styles':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/vaadin-material-styles':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/vaadin-themable-mixin':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/vaadin-usage-statistics':'2.1.2' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/vertical-layout':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency '@vaadin/virtual-list':'24.1.10' has been removed from package.json
[DEBUG] Old Vaadin provided dependency 'construct-style-sheets-polyfill':'3.1.0' has been removed from package.json
[DEBUG] Old Vaadin provided dependency 'date-fns':'2.29.3' has been removed from package.json
[DEBUG] Old Vaadin provided dependency 'element-match-media':'0.0.3' has been removed from package.json
[DEBUG] Old Vaadin provided dependency 'lit':'2.8.0' has been removed from package.json
[DEBUG] Old Vaadin provided dependency 'mobile-drag-drop':'2.3.0-rc.2' has been removed from package.json
[DEBUG] Old Vaadin provided dependency 'proj4':'2.9.0' has been removed from package.json
[DEBUG] Added "@vaadin/common-frontend": "0.0.18" line.
[DEBUG] Added "construct-style-sheets-polyfill": "3.1.0" line.
[DEBUG] Added "lit": "2.8.0" line.
[DEBUG] Added "@vaadin/router": "1.7.5" line.
[DEBUG] Added "@polymer/polymer": "3.5.1" line.
[DEBUG] Added 5 default dependencies to main package.json
[DEBUG] Added "@vaadin/form-layout": "24.2.0" line.
[DEBUG] Added "@vaadin/checkbox-group": "24.2.0" line.
[DEBUG] Added "@vaadin/list-box": "24.2.0" line.
[DEBUG] Added "@vaadin/upload": "24.2.0" line.
[DEBUG] Added "@vaadin/app-layout": "24.2.0" line.
[DEBUG] Added "@vaadin/integer-field": "24.2.0" line.
[DEBUG] Added "@vaadin/select": "24.2.0" line.
[DEBUG] Added "@vaadin/confirm-dialog": "24.2.0" line.
[DEBUG] Added "@vaadin/grid": "24.2.0" line.
[DEBUG] Added "@vaadin/tabsheet": "24.2.0" line.
[DEBUG] Added "@vaadin/text-area": "24.2.0" line.
[DEBUG] Added "@vaadin/charts": "24.2.0" line.
[DEBUG] Added "@vaadin/context-menu": "24.2.0" line.
[DEBUG] Added "@vaadin/password-field": "24.2.0" line.
[DEBUG] Added "@vaadin/date-time-picker": "24.2.0" line.
[DEBUG] Added "@vaadin/progress-bar": "24.2.0" line.
[DEBUG] Added "@vaadin/multi-select-combo-box": "24.2.0" line.
[DEBUG] Added "proj4": "2.9.1" line.
[DEBUG] Added "@vaadin/crud": "24.2.0" line.
[DEBUG] Added "@vaadin/time-picker": "24.2.0" line.
[DEBUG] Added "@vaadin/number-field": "24.2.0" line.
[DEBUG] Added "@vaadin/avatar-group": "24.2.0" line.
[DEBUG] Added "@vaadin/tooltip": "24.2.0" line.
[DEBUG] Added "element-match-media": "0.0.3" line.
[DEBUG] Added "@vaadin/vertical-layout": "24.2.0" line.
[DEBUG] Added "@vaadin/login": "24.2.0" line.
[DEBUG] Added "@vaadin/side-nav": "24.2.0" line.
[DEBUG] Added "@vaadin/details": "24.2.0" line.
[DEBUG] Added "@vaadin/icons": "24.2.0" line.
[DEBUG] Added "@vaadin/button": "24.2.0" line.
[DEBUG] Added "@vaadin/vaadin-themable-mixin": "24.2.0" line.
[DEBUG] Added "@vaadin/board": "24.2.0" line.
[DEBUG] Added "@vaadin/accordion": "24.2.0" line.
[DEBUG] Added "@vaadin/avatar": "24.2.0" line.
[DEBUG] Added "@vaadin/vaadin-material-styles": "24.2.0" line.
[DEBUG] Added "@vaadin/grid-pro": "24.2.0" line.
[DEBUG] Added "@vaadin/radio-group": "24.2.0" line.
[DEBUG] Added "@vaadin/cookie-consent": "24.2.0" line.
[DEBUG] Added "@vaadin/horizontal-layout": "24.2.0" line.
[DEBUG] Added "date-fns": "2.29.3" line.
[DEBUG] Added "@vaadin/virtual-list": "24.2.0" line.
[DEBUG] Added "@vaadin/map": "24.2.0" line.
[DEBUG] Added "@vaadin/combo-box": "24.2.0" line.
[DEBUG] Added "@vaadin/menu-bar": "24.2.0" line.
[DEBUG] Added "@vaadin/message-list": "24.2.0" line.
[DEBUG] Added "@vaadin/custom-field": "24.2.0" line.
[DEBUG] Added "@vaadin/bundles": "24.2.0" line.
[DEBUG] Added "@vaadin/field-highlighter": "24.2.0" line.
[DEBUG] Added "@vaadin/date-picker": "24.2.0" line.
[DEBUG] Added "@vaadin/dialog": "24.2.0" line.
[DEBUG] Added "@vaadin/polymer-legacy-adapter": "24.2.0" line.
[DEBUG] Added "@vaadin/item": "24.2.0" line.
[DEBUG] Added "mobile-drag-drop": "2.3.0-rc.2" line.
[DEBUG] Added "@vaadin/tabs": "24.2.0" line.
[DEBUG] Added "@vaadin/icon": "24.2.0" line.
[DEBUG] Added "@vaadin/split-layout": "24.2.0" line.
[DEBUG] Added "@vaadin/text-field": "24.2.0" line.
[DEBUG] Added "@vaadin/checkbox": "24.2.0" line.
[DEBUG] Added "@vaadin/notification": "24.2.0" line.
[DEBUG] Added "@vaadin/scroller": "24.2.0" line.
[DEBUG] Added "@vaadin/rich-text-editor": "24.2.0" line.
[DEBUG] Added "@vaadin/vaadin-lumo-styles": "24.2.0" line.
[DEBUG] Added "@vaadin/message-input": "24.2.0" line.
[DEBUG] Added "@vaadin/email-field": "24.2.0" line.
[INFO] Dependency element-match-media is missing from the bundle
[INFO] A production mode bundle build is needed
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\frontend\generated\index.ts' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\target\sw.ts' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\frontend\generated\vaadin.ts' because content does not match
[DEBUG] skipping writing to file 'C:\Path\eclipsePath\workspace\myProject\frontend\generated\vaadin-featureflags.js' because content matches
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\target\plugins\build-status-plugin\build-status-plugin.js' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\target\plugins\build-status-plugin\package.json' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\target\plugins\application-theme-plugin\application-theme-plugin.js' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\target\plugins\application-theme-plugin\theme-generator.js' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\target\plugins\application-theme-plugin\theme-copy.js' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\target\plugins\application-theme-plugin\theme-handle.js' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\target\plugins\application-theme-plugin\package.json' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\target\plugins\theme-loader\theme-loader.js' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\target\plugins\theme-loader\theme-loader-utils.js' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\target\plugins\theme-loader\package.json' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\target\plugins\theme-live-reload-plugin\theme-live-reload-plugin.js' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\target\plugins\theme-live-reload-plugin\package.json' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\target\plugins\rollup-plugin-postcss-lit-custom\rollup-plugin-postcss-lit.js' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\target\plugins\rollup-plugin-postcss-lit-custom\package.json' because content does not match
[DEBUG] Added "@vaadin/form-layout": "24.2.0" line.
[DEBUG] Added "@vaadin/checkbox-group": "24.2.0" line.
[DEBUG] Added "@vaadin/list-box": "24.2.0" line.
[DEBUG] Added "@vaadin/upload": "24.2.0" line.
[DEBUG] Added "@vaadin/app-layout": "24.2.0" line.
[DEBUG] Added "@vaadin/integer-field": "24.2.0" line.
[DEBUG] Added "@vaadin/select": "24.2.0" line.
[DEBUG] Added "@vaadin/confirm-dialog": "24.2.0" line.
[DEBUG] Added "@vaadin/grid": "24.2.0" line.
[DEBUG] Added "@vaadin/tabsheet": "24.2.0" line.
[DEBUG] Added "@vaadin/text-area": "24.2.0" line.
[DEBUG] Added "@vaadin/charts": "24.2.0" line.
[DEBUG] Added "@vaadin/context-menu": "24.2.0" line.
[DEBUG] Added "@vaadin/password-field": "24.2.0" line.
[DEBUG] Added "@vaadin/date-time-picker": "24.2.0" line.
[DEBUG] Added "@vaadin/progress-bar": "24.2.0" line.
[DEBUG] Added "@vaadin/multi-select-combo-box": "24.2.0" line.
[DEBUG] Added "proj4": "2.9.1" line.
[DEBUG] Added "@vaadin/crud": "24.2.0" line.
[DEBUG] Added "@vaadin/time-picker": "24.2.0" line.
[DEBUG] Added "@vaadin/number-field": "24.2.0" line.
[DEBUG] Added "@vaadin/avatar-group": "24.2.0" line.
[DEBUG] Added "@vaadin/tooltip": "24.2.0" line.
[DEBUG] Added "@vaadin/vertical-layout": "24.2.0" line.
[DEBUG] Added "@vaadin/login": "24.2.0" line.
[DEBUG] Added "@vaadin/side-nav": "24.2.0" line.
[DEBUG] Added "@vaadin/details": "24.2.0" line.
[DEBUG] Added "@vaadin/icons": "24.2.0" line.
[DEBUG] Added "@vaadin/button": "24.2.0" line.
[DEBUG] Added "@vaadin/vaadin-themable-mixin": "24.2.0" line.
[DEBUG] Added "@vaadin/board": "24.2.0" line.
[DEBUG] Added "@vaadin/accordion": "24.2.0" line.
[DEBUG] Added "@vaadin/avatar": "24.2.0" line.
[DEBUG] Added "@vaadin/vaadin-material-styles": "24.2.0" line.
[DEBUG] Added "@vaadin/grid-pro": "24.2.0" line.
[DEBUG] Added "@vaadin/radio-group": "24.2.0" line.
[DEBUG] Added "@vaadin/cookie-consent": "24.2.0" line.
[DEBUG] Added "@vaadin/horizontal-layout": "24.2.0" line.
[DEBUG] Added "@vaadin/virtual-list": "24.2.0" line.
[DEBUG] Added "@vaadin/map": "24.2.0" line.
[DEBUG] Added "@vaadin/combo-box": "24.2.0" line.
[DEBUG] Added "@vaadin/menu-bar": "24.2.0" line.
[DEBUG] Added "@vaadin/message-list": "24.2.0" line.
[DEBUG] Added "@vaadin/custom-field": "24.2.0" line.
[DEBUG] Added "@vaadin/bundles": "24.2.0" line.
[DEBUG] Added "@vaadin/field-highlighter": "24.2.0" line.
[DEBUG] Added "@vaadin/date-picker": "24.2.0" line.
[DEBUG] Added "@vaadin/dialog": "24.2.0" line.
[DEBUG] Added "@vaadin/polymer-legacy-adapter": "24.2.0" line.
[DEBUG] Added "@vaadin/item": "24.2.0" line.
[DEBUG] Added "@vaadin/tabs": "24.2.0" line.
[DEBUG] Added "@vaadin/icon": "24.2.0" line.
[DEBUG] Added "@vaadin/split-layout": "24.2.0" line.
[DEBUG] Added "@vaadin/text-field": "24.2.0" line.
[DEBUG] Added "@vaadin/checkbox": "24.2.0" line.
[DEBUG] Added "@vaadin/notification": "24.2.0" line.
[DEBUG] Added "@vaadin/scroller": "24.2.0" line.
[DEBUG] Added "@vaadin/rich-text-editor": "24.2.0" line.
[DEBUG] Added "@vaadin/vaadin-lumo-styles": "24.2.0" line.
[DEBUG] Added "@vaadin/message-input": "24.2.0" line.
[DEBUG] Added "@vaadin/email-field": "24.2.0" line.
[DEBUG] Added 67 dependencies to main package.json
[DEBUG] Removed "mkdirp".
[DEBUG] Removed 1 devDependencies
[DEBUG] writing file C:\Path\eclipsePath\workspace\myProject\package.json.
[INFO] Running `pnpm install` to resolve and optionally download frontend dependencies. This may take a moment, please stand by...
[DEBUG] Command '[where, node.exe]' failed with exit code '1'
[DEBUG] Command '[C:\Users\user\.vaadin\node\node.exe, -v]' has non-empty stderr but assuming this is fine:
''
[DEBUG] Using node 20.8.0 located at C:\Users\user\.vaadin\node\node.exe
[DEBUG] Command '[where, npm.cmd]' failed with exit code '1'
[DEBUG] Command '[where, node.exe]' failed with exit code '1'
[DEBUG] Command '[C:\Users\user\.vaadin\node\node.exe, -v]' has non-empty stderr but assuming this is fine:
''
[DEBUG] Command '[C:\Users\user\.vaadin\node\node.exe, -v]' has non-empty stderr but assuming this is fine:
''
[DEBUG] Using npm 10.1.0 located at C:\Users\user\.vaadin\node\node.exe
[DEBUG] Generated pnpm configuration: 'C:\Path\eclipsePath\workspace\myProject\.npmrc'
[DEBUG] Command '[C:\Users\user\.vaadin\node\node.exe, -v]' has non-empty stderr but assuming this is fine:
''
[DEBUG] Command '[C:\Users\user\.vaadin\node\node.exe, -v]' has non-empty stderr but assuming this is fine:
''
[DEBUG]
C:\Users\user\.vaadin\node\node.exe \
C:\Users\user\.vaadin\node\node_modules\npm\bin\npx-cli.js \
--yes --quiet pnpm --shamefully-hoist=true \
--ignore-scripts install
[INFO] using 'C:\Users\user\.vaadin\node\node.exe C:\Users\user\.vaadin\node\node_modules\npm\bin\npx-cli.js --yes --quiet pnpm --shamefully-hoist=true --ignore-scripts install' for frontend package installation
[DEBUG] Output of `C:\Users\user\.vaadin\node\node.exe C:\Users\user\.vaadin\node\node_modules\npm\bin\npx-cli.js --yes --quiet pnpm --shamefully-hoist=true --ignore-scripts install`:
[DEBUG] WARN 2 deprecated subdependencies found: rollup-plugin-terser@7.0.2, sourcemap-codec@1.4.8
[DEBUG]
[DEBUG] dependencies:
[DEBUG] + @polymer/polymer 3.5.1
[DEBUG] + @vaadin/a11y-base 24.1.10
[DEBUG] + @vaadin/accordion 24.1.10
[DEBUG] + @vaadin/app-layout 24.1.10
[DEBUG] + @vaadin/avatar 24.1.10
[DEBUG] + @vaadin/avatar-group 24.1.10
[DEBUG] + @vaadin/board 24.1.10
[DEBUG] + @vaadin/bundles 24.1.10
[DEBUG] + @vaadin/button 24.1.10
[DEBUG] + @vaadin/charts 24.1.10
[DEBUG] + @vaadin/checkbox 24.1.10
[DEBUG] + @vaadin/checkbox-group 24.1.10
[DEBUG] + @vaadin/combo-box 24.1.10
[DEBUG] + @vaadin/common-frontend 0.0.18
[DEBUG] + @vaadin/component-base 24.1.10
[DEBUG] + @vaadin/confirm-dialog 24.1.10
[DEBUG] + @vaadin/context-menu 24.1.10
[DEBUG] + @vaadin/cookie-consent 24.1.10
[DEBUG] + @vaadin/crud 24.1.10
[DEBUG] + @vaadin/custom-field 24.1.10
[DEBUG] + @vaadin/date-picker 24.1.10
[DEBUG] + @vaadin/date-time-picker 24.1.10
[DEBUG] + @vaadin/details 24.1.10
[DEBUG] + @vaadin/dialog 24.1.10
[DEBUG] + @vaadin/email-field 24.1.10
[DEBUG] + @vaadin/field-base 24.1.10
[DEBUG] + @vaadin/field-highlighter 24.1.10
[DEBUG] + @vaadin/form-layout 24.1.10
[DEBUG] + @vaadin/grid 24.1.10
[DEBUG] + @vaadin/grid-pro 24.1.10
[DEBUG] + @vaadin/horizontal-layout 24.1.10
[DEBUG] + @vaadin/icon 24.1.10
[DEBUG] + @vaadin/icons 24.1.10
[DEBUG] + @vaadin/input-container 24.1.10
[DEBUG] + @vaadin/integer-field 24.1.10
[DEBUG] + @vaadin/item 24.1.10
[DEBUG] + @vaadin/list-box 24.1.10
[DEBUG] + @vaadin/lit-renderer 24.1.10
[DEBUG] + @vaadin/login 24.1.10
[DEBUG] + @vaadin/map 24.1.10
[DEBUG] + @vaadin/menu-bar 24.1.10
[DEBUG] + @vaadin/message-input 24.1.10
[DEBUG] + @vaadin/message-list 24.1.10
[DEBUG] + @vaadin/multi-select-combo-box 24.1.10
[DEBUG] + @vaadin/notification 24.1.10
[DEBUG] + @vaadin/number-field 24.1.10
[DEBUG] + @vaadin/overlay 24.1.10
[DEBUG] + @vaadin/password-field 24.1.10
[DEBUG] + @vaadin/polymer-legacy-adapter 24.1.10
[DEBUG] + @vaadin/progress-bar 24.1.10
[DEBUG] + @vaadin/radio-group 24.1.10
[DEBUG] + @vaadin/rich-text-editor 24.1.10
[DEBUG] + @vaadin/router 1.7.5
[DEBUG] + @vaadin/scroller 24.1.10
[DEBUG] + @vaadin/select 24.1.10
[DEBUG] + @vaadin/side-nav 24.1.10
[DEBUG] + @vaadin/split-layout 24.1.10
[DEBUG] + @vaadin/tabs 24.1.10
[DEBUG] + @vaadin/tabsheet 24.1.10
[DEBUG] + @vaadin/text-area 24.1.10
[DEBUG] + @vaadin/text-field 24.1.10
[DEBUG] + @vaadin/time-picker 24.1.10
[DEBUG] + @vaadin/tooltip 24.1.10
[DEBUG] + @vaadin/upload 24.1.10
[DEBUG] + @vaadin/vaadin-development-mode-detector 2.0.6
[DEBUG] + @vaadin/vaadin-lumo-styles 24.1.10
[DEBUG] + @vaadin/vaadin-material-styles 24.1.10
[DEBUG] + @vaadin/vaadin-themable-mixin 24.1.10
[DEBUG] + @vaadin/vaadin-usage-statistics 2.1.2
[DEBUG] + @vaadin/vertical-layout 24.1.10
[DEBUG] + @vaadin/virtual-list 24.1.10
[DEBUG] + construct-style-sheets-polyfill 3.1.0
[DEBUG] + date-fns 2.29.3
[DEBUG] + element-match-media 0.0.3
[DEBUG] + lit 2.7.6
[DEBUG] + mobile-drag-drop 2.3.0-rc.2
[DEBUG] + proj4 2.9.0
[DEBUG]
[DEBUG] devDependencies:
[DEBUG] + @rollup/plugin-replace 5.0.2
[DEBUG] + @rollup/pluginutils 5.0.2
[DEBUG] + @vitejs/plugin-react 4.0.4 (4.1.0 is available)
[DEBUG] + async 3.2.4
[DEBUG] + glob 10.3.3 (10.3.10 is available)
[DEBUG] + rollup-plugin-brotli 3.1.0
[DEBUG] + rollup-plugin-visualizer 5.9.2
[DEBUG] + strip-css-comments 5.0.0
[DEBUG] + transform-ast 2.4.4
[DEBUG] + typescript 5.1.6 (5.2.2 is available)
[DEBUG] + vite 4.4.11 (4.5.0 is available)
[DEBUG] + vite-plugin-checker 0.6.1 (0.6.2 is available)
[DEBUG] + workbox-build 7.0.0
[DEBUG] + workbox-core 7.0.0
[DEBUG] + workbox-precaching 7.0.0
[DEBUG]
[DEBUG] Done in 16.5s
[INFO] Frontend dependencies resolved successfully.
[DEBUG] Skipping postinstall for '.' as no postinstall script was found in the package.json
[DEBUG] Running postinstall for 'esbuild'
[DEBUG] Running postinstall for '@vaadin/vaadin-usage-statistics'
[INFO] Copying frontend resources from jar files ...
[INFO] Visited 197 resources. Took 305 ms.
[DEBUG] Found no local frontend resources for the project
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\target\vaadin-dev-server-settings.json' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\vite.generated.ts' because content does not match
[DEBUG] Created vite generated configuration file: 'C:\Path\eclipsePath\workspace\myProject\vite.generated.ts'
[DEBUG] Start updating imports file and chunk files.
[DEBUG] Start collecting scanned JS modules and scripts.
[DEBUG] Found 26 modules, and 26 scripts.
[DEBUG] JS modules and scripts collected in 64 ms.
[DEBUG] Start sorting imports to lazy and eager.
[DEBUG] Imports sorting took 0 ms.
[DEBUG] Start generating lazy loaded chunks.
[DEBUG] Lazy chunks generation took 587 ms.
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\frontend\generated\flow\chunks\chunk-ccfb37304154ee8545642b85524d5a4052880a0d5edb43691267a493024623bf.js' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\frontend\generated\flow\generated-flow-imports.js' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\frontend\generated\flow\chunks\chunk-5b53b47c734054df234fd7f5ae08e70997744f8bd240a5ccd8631344923d659b.js' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\frontend\generated\flow\chunks\chunk-52e9c765ec49cb56f542026820f880ff2e735b466081ea687ff4e58498711944.js' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\frontend\generated\flow\chunks\chunk-966ecf9beac576cb50ef2c3b1268fbeac8fab914619694cc9d661ebdfcb37741.js' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\frontend\generated\flow\chunks\chunk-b6b724e7258c4e7a37501a1158b7d8ef4e85e3872ffe60ccab9091b8d9e2ff87.js' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\frontend\generated\flow\chunks\chunk-a541e2dfcd89fa93c5d78fe2881245c49e4b2dcd6bd38eb4b3eabf38e8e149a0.js' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\frontend\generated\flow\chunks\chunk-1be3edcc8fdb84e9a84211502d48273693eceba60653f882cf7bb851aa063c1a.js' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\frontend\generated\flow\generated-flow-imports.d.ts' because content does not match
[DEBUG] Imports and chunks update took 763 ms.
[DEBUG] Didn't create folders as they probably already exist. If there is a problem check access rights for folder C:\Path\eclipsePath\workspace\myProject\frontend\generated
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\frontend\generated\theme.js' because content does not match
[DEBUG] writing to file 'C:\Path\eclipsePath\workspace\myProject\frontend\generated\theme.d.ts' because content does not match
[DEBUG] Command '[where, node.exe]' failed with exit code '1'
[DEBUG] Command '[C:\Users\user\.vaadin\node\node.exe, -v]' has non-empty stderr but assuming this is fine:
''
[DEBUG] Using node 20.8.0 located at C:\Users\user\.vaadin\node\node.exe
[DEBUG] Command '[where, npm.cmd]' failed with exit code '1'
[DEBUG] Command '[where, node.exe]' failed with exit code '1'
[DEBUG] Command '[C:\Users\user\.vaadin\node\node.exe, -v]' has non-empty stderr but assuming this is fine:
''
[DEBUG] Command '[C:\Users\user\.vaadin\node\node.exe, -v]' has non-empty stderr but assuming this is fine:
''
[DEBUG] Using npm 10.1.0 located at C:\Users\user\.vaadin\node\node.exe
[DEBUG] Command '[C:\Users\user\.vaadin\node\node.exe, -v]' has non-empty stderr but assuming this is fine:
''
[INFO] Running Vite ...
[DEBUG]
C:\Users\user\.vaadin\node\node.exe \
.\node_modules\vite\bin\vite.js build
[DEBUG] Executing [C:\Users\user\.vaadin\node\node.exe, C:\Path\eclipsePath\workspace\myProject\node_modules\vite\bin\vite.js, build] in C:\Path\eclipsePath\workspace\myProject with environment {...}.
[DEBUG] Started Process[pid=16016, exitValue="not exited"]
[DEBUG] Process[pid=16016, exitValue=1] stopped with exit code 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:20 min
[INFO] Finished at: 2023-10-24T17:22:22+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:24.2.0:build-frontend (default) on project myProject: Execution default of goal com.vaadin:vaadin-maven-plugin:24.2.0:build-frontend failed: Vite process exited with non-zero exit code.
[ERROR] Stderr: 'vite v4.4.11 building for production...
[ERROR] transforming...
[ERROR] ✓ 83 modules transformed.
[ERROR] ✓ built in 1.13s
[ERROR] [vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/Path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
[ERROR] This is most likely unintended because it can break your application at runtime.
[ERROR] If you do want to externalize this module explicitly add it to
[ERROR] `build.rollupOptions.external`
[ERROR] error during build:
[ERROR] Error: [vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/Path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
[ERROR] This is most likely unintended because it can break your application at runtime.
[ERROR] If you do want to externalize this module explicitly add it to
[ERROR] `build.rollupOptions.external`
[ERROR] at viteWarn (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48205:27)
[ERROR] at onwarn (C:\Path\eclipsePath\workspace\myProject\vite.config.ts:1192:11)
[ERROR] at onRollupWarning (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48234:9)
[ERROR] at onwarn (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:47965:13)
[ERROR] at file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24271:13
[ERROR] at Object.logger [as onLog] (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:25945:9)
[ERROR] at ModuleLoader.handleInvalidResolvedId (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24857:26)
[ERROR] at file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24817:26
[ERROR] ': Unexpected exit value: 1, allowed exit values: [0], executed command [C:\Users\user\.vaadin\node\node.exe, C:\Path\eclipsePath\workspace\myProject\node_modules\vite\bin\vite.js, build] in directory C:\Path\eclipsePath\workspace\myProject with environment {...}, output was 2243 bytes:
[ERROR] [36mvite v4.4.11 building for production...
[ERROR] transforming...
[ERROR] ✓ 83 modules transformed.
[ERROR] ✓ built in 1.13s
[ERROR] [vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/Path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
[ERROR] This is most likely unintended because it can break your application at runtime.
[ERROR] If you do want to externalize this module explicitly add it to
[ERROR] `build.rollupOptions.external`
[ERROR] error during build:
[ERROR] Error: [vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/Path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
[ERROR] This is most likely unintended because it can break your application at runtime.
[ERROR] If you do want to externalize this module explicitly add it to
[ERROR] `build.rollupOptions.external`
[ERROR] at viteWarn (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48205:27)
[ERROR] at onwarn (C:\Path\eclipsePath\workspace\myProject\vite.config.ts:1192:11)
[ERROR] at onRollupWarning (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48234:9)
[ERROR] at onwarn (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:47965:13)
[ERROR] at file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24271:13
[ERROR] at Object.logger [as onLog] (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:25945:9)
[ERROR] at ModuleLoader.handleInvalidResolvedId (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24857:26)
[ERROR] at file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24817:26
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.vaadin:vaadin-maven-plugin:24.2.0:build-frontend (default) on project myProject: Execution default of goal com.vaadin:vaadin-maven-plugin:24.2.0:build-frontend failed: Vite process exited with non-zero exit code.
Stderr: 'vite v4.4.11 building for production...
transforming...
✓ 83 modules transformed.
✓ built in 1.13s
[vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/Path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
error during build:
Error: [vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/Path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
at viteWarn (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48205:27)
at onwarn (C:\Path\eclipsePath\workspace\myProject\vite.config.ts:1192:11)
at onRollupWarning (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48234:9)
at onwarn (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:47965:13)
at file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24271:13
at Object.logger [as onLog] (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:25945:9)
at ModuleLoader.handleInvalidResolvedId (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24857:26)
at file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24817:26
'
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal com.vaadin:vaadin-maven-plugin:24.2.0:build-frontend failed: Vite process exited with non-zero exit code.
Stderr: 'vite v4.4.11 building for production...
transforming...
✓ 83 modules transformed.
✓ built in 1.13s
[vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/Path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
error during build:
Error: [vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/Path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
at viteWarn (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48205:27)
at onwarn (C:\Path\eclipsePath\workspace\myProject\vite.config.ts:1192:11)
at onRollupWarning (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48234:9)
at onwarn (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:47965:13)
at file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24271:13
at Object.logger [as onLog] (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:25945:9)
at ModuleLoader.handleInvalidResolvedId (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24857:26)
at file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24817:26
'
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: java.lang.IllegalStateException: Vite process exited with non-zero exit code.
Stderr: 'vite v4.4.11 building for production...
transforming...
✓ 83 modules transformed.
✓ built in 1.13s
[vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/Path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
error during build:
Error: [vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/Path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
at viteWarn (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48205:27)
at onwarn (C:\Path\eclipsePath\workspace\myProject\vite.config.ts:1192:11)
at onRollupWarning (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48234:9)
at onwarn (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:47965:13)
at file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24271:13
at Object.logger [as onLog] (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:25945:9)
at ModuleLoader.handleInvalidResolvedId (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24857:26)
at file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24817:26
'
at com.vaadin.flow.plugin.base.BuildFrontendUtil.runFrontendBuildTool (BuildFrontendUtil.java:484)
at com.vaadin.flow.plugin.base.BuildFrontendUtil.runVite (BuildFrontendUtil.java:438)
at com.vaadin.flow.plugin.base.BuildFrontendUtil.runFrontendBuild (BuildFrontendUtil.java:423)
at com.vaadin.flow.plugin.maven.BuildFrontendMojo.execute (BuildFrontendMojo.java:138)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.zeroturnaround.exec.InvalidExitValueException: Unexpected exit value: 1, allowed exit values: [0], executed command [C:\Users\user\.vaadin\node\node.exe, C:\Path\eclipsePath\workspace\myProject\node_modules\vite\bin\vite.js, build] in directory C:\Path\eclipsePath\workspace\myProject with environment {...}, output was 2243 bytes:
[36mvite v4.4.11 building for production...
transforming...
✓ 83 modules transformed.
✓ built in 1.13s
[vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/Path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
error during build:
Error: [vite]: Rollup failed to resolve import "@vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js" from "C:/Path/eclipsePath/workspace/myProject/frontend/generated/jar-resources/vaadin-grid-flow-selection-column.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
at viteWarn (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48205:27)
at onwarn (C:\Path\eclipsePath\workspace\myProject\vite.config.ts:1192:11)
at onRollupWarning (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:48234:9)
at onwarn (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/vite@4.4.11/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:47965:13)
at file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24271:13
at Object.logger [as onLog] (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:25945:9)
at ModuleLoader.handleInvalidResolvedId (file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24857:26)
at file:///C:/Path/eclipsePath/workspace/myProject/node_modules/.pnpm/rollup@3.29.1/node_modules/rollup/dist/es/shared/node-entry.js:24817:26
at org.zeroturnaround.exec.InvalidExitUtil.checkExit (InvalidExitUtil.java:27)
at org.zeroturnaround.exec.WaitForProcess.call (WaitForProcess.java:114)
at org.zeroturnaround.exec.ProcessExecutor.waitFor (ProcessExecutor.java:1076)
at org.zeroturnaround.exec.ProcessExecutor.execute (ProcessExecutor.java:906)
at com.vaadin.flow.plugin.base.BuildFrontendUtil.runFrontendBuildTool (BuildFrontendUtil.java:482)
at com.vaadin.flow.plugin.base.BuildFrontendUtil.runVite (BuildFrontendUtil.java:438)
at com.vaadin.flow.plugin.base.BuildFrontendUtil.runFrontendBuild (BuildFrontendUtil.java:423)
at com.vaadin.flow.plugin.maven.BuildFrontendMojo.execute (BuildFrontendMojo.java:138)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
Could you try to delete the pnpm caches?
On Linux the folders should be $HOME/.cache/pnpm
, $HOME/.pnpm-store
, $HOME/.local/share/pnpm/store
.
On Windows maybe under $HOME/AppData/Local
, but I'm not sure.
Could you try to delete the pnpm caches? On Linux the folders should be
$HOME/.cache/pnpm
,$HOME/.pnpm-store
,$HOME/.local/share/pnpm/store
. On Windows maybe under$HOME/AppData/Local
, but I'm not sure.
didn't work for me
Suggestion with a configuration, I had never issues with:
@ElZorrito @wegerv @Siedlerchr @cassandrus could you please try switching from pnpm
to npm
with Vaadin config parameter pnpm.enable=false
, see https://vaadin.com/docs/latest/configuration/properties ?
Looks like package.json
file is updated properly but pnpm doesn't pick these versions from there.
~Or, as an alternative, try older pnpm version than 8.6.11
, which is used by Vaadin 24.2.0 by default.~
UPD: Vaadin 24.1.12 uses the same pnpm version, 8.6.11
.
Tested upgrade from 24.1.12 to 24.2.0 on a clean environment. While using npm
I could not reproduce the issue either in dev or prod mode. Cleaning again, switching to pnpm
, and running the same upgrade process I was able to reproduce the issue, so it might be occurring on pnpm
only.
@ElZorrito @wegerv @Siedlerchr @cassandrus would be useful for us also to see what pnpm version you use in fact, is it a default one automatically used by Vaadin or installed by yourself?
I delete node_module and replace package.json with older version (24.1.12) and add parameter pnpm.enable = false
.
Frontend is build correctly after that and I can find the file @vaadin/grid/src/vaadin-grid-selection-column-base-mixin.js
.
I use default pnpm automatically used by Vaadin.
pnpm default from vaadin as well
DEBUG] Using npm 10.1.0 located at /Users/xxxx.vaadin/node/node
[INFO] Reflections took 1405 ms to scan 391 urls, producing 21132 keys and 115397 values
[DEBUG] Properties loaded from classpath.
[DEBUG] Properties loaded from classpath.
[DEBUG] Added "@vaadin/common-frontend": "0.0.18" line.
[DEBUG] Added "construct-style-sheets-polyfill": "3.1.0" line.
[DEBUG] Added "lit": "2.8.0" line.
[DEBUG] Added "@vaadin/router": "1.7.5" line.
[DEBUG] Added "@polymer/polymer": "3.5.1" line.
[DEBUG] Added "strip-css-comments": "5.0.0" line.
[DEBUG] Added "workbox-build": "7.0.0" line.
[DEBUG] Added "rollup-plugin-visualizer": "5.9.2" line.
[DEBUG] Added "glob": "10.3.3" line.
[DEBUG] Added "@rollup/plugin-replace": "5.0.2" line.
[DEBUG] Added "async": "3.2.4" line.
[DEBUG] Added "workbox-core": "7.0.0" line.
[DEBUG] Added "vite": "4.4.11" line.
[DEBUG] Added "rollup-plugin-brotli": "3.1.0" line.
[DEBUG] Added "@rollup/pluginutils": "5.0.2" line.
[DEBUG] Added "vite-plugin-checker": "0.6.1" line.
[DEBUG] Added "workbox-precaching": "7.0.0" line.
[DEBUG] Added "transform-ast": "2.4.4" line.
[DEBUG] Added "typescript": "5.1.6" line.
[DEBUG] Added "@vitejs/plugin-react": "4.0.4" line.
[DEBUG] Added 20 default dependencies to main package.json
[DEBUG] writing file /Users/xxxxx/workspace/xxxx-server/package.json.
[DEBUG] writing to file '/Users/xxxx
@Siedlerchr works for you with npm
?
Could you check if you have .pnpmfile.cjs
in your project root folder? If you do, delete it and rerun the build with pnpm. This fixed the issue for me.
Could you check if you have
.pnpmfile.cjs
in your project root folder? If you do, delete it and rerun the build with pnpm. This fixed the issue for me.
For me too
Could you check if you have
.pnpmfile.cjs
in your project root folder? If you do, delete it and rerun the build with pnpm. This fixed the issue for me.
For me too, thanks.
A bit more context: .pnpmfile.cjs
is no longer generated by Vaadin Flow in 24.2+ versions, so V24.2+ works fine itself.
Vaadin 24.1 generates this file, but apparently uses older versions of Node.js/npm/pnpm, with that it doesn't have this buggy behaviour.
The action proposed for Flow is to add this file into vaadin:clean-frontend
goal (for Gradle also), and backport this change into all versions that generate this file. So that whenever you migrate to Vaadin 24.2+ you can run mvn clean; mvn vaadin:clean-frontend
and avoid this issue.
Deleting the .pnpmfile.cjs worked for me as well
Edit// It was already in our .gitignore, I just had it locally still flying around from the previous version
A bit more context:
.pnpmfile.cjs
is no longer generated by Vaadin Flow in 24.2+ versions, so V24.2+ works fine itself. Vaadin 24.1 generates this file, but apparently uses older versions of Node.js/npm/pnpm, with that it doesn't have this buggy behaviour.The action proposed for Flow is to add this file into
vaadin:clean-frontend
goal (for Gradle also), and backport this change into all versions that generate this file. So that whenever you migrate to Vaadin 24.2+ you can runmvn clean; mvn vaadin:clean-frontend
and avoid this issue.
That would be a good fix.
Description of the bug
Hello,
I want to upgrade from 24.1.12 to 24.2.0 but there is an error when frontend is build :
I delete node_modules, package.json, pnpm-lock.yaml, vite.generated.ts and restart app, no effect.
Thanks
Expected behavior
Frontend build fine
Minimal reproducible example
I can't share my project
Versions