Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Vaadin 14 bakery app not running

Imran Momin
3 years ago Aug 18, 2019 10:20am
Imran Momin
3 years ago Aug 18, 2019 10:22am

@vaadin/vaadin-usage-statistics@2.0.4 postinstall D:\Devlopement\vaadin\my-starter-project\my-starter-project\node_modules@vaadin\vaadin-core-shrinkwrap\node_modules@vaadin\vaadin-usage-statistics node check.js

Vaadin collects development time usage statistics to improve this product. To opt-out, either run:
npm explore @vaadin/vaadin-usage-statistics -- npm run disable
to store disable statistics for the machine, or add
"vaadin": { "disableUsageStatistics": true }
to the project package.json and re-run npm install to disable statistics for the project.

For more details, see https://github.com/vaadin/vaadin-usage-statistics

@vaadin/vaadin-usage-statistics@2.0.4 postinstall D:\Devlopement\vaadin\my-starter-project\my-starter-project\node_modules@vaadin\vaadin-shrinkwrap\node_modules@vaadin\vaadin-usage-statistics node check.js

Vaadin collects development time usage statistics to improve this product. To opt-out, either run:
npm explore @vaadin/vaadin-usage-statistics -- npm run disable
to store disable statistics for the machine, or add
"vaadin": { "disableUsageStatistics": true }
to the project package.json and re-run npm install to disable statistics for the project.

For more details, see https://github.com/vaadin/vaadin-usage-statistics

@vaadin/vaadin-usage-statistics@2.0.8 postinstall D:\Devlopement\vaadin\my-starter-project\my-starter-project\node_modules@vaadin\vaadin-usage-statistics node check.js

Vaadin collects development time usage statistics to improve this product. To opt-out, either run:
npm explore @vaadin/vaadin-usage-statistics -- npm run disable
to store disable statistics for the machine, or add
"vaadin": { "disableUsageStatistics": true }
to the project package.json and re-run npm install to disable statistics for the project.

For more details, see https://github.com/vaadin/vaadin-usage-statistics

core-js@2.6.9 postinstall D:\Devlopement\vaadin\my-starter-project\my-starter-project\node_modules\core-js node scripts/postinstall || echo "ignore"

npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN no-name@ No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

added 887 packages from 394 contributors and audited 22630 packages in 90.505s found 0 vulnerabilities

2019-08-18 15:49:32.342 INFO 11744 --- [ main] dev-updater : package.json updated and npm dependencies installed. 2019-08-18 15:49:32.343 INFO 11744 --- [ main] dev-updater : Copying frontend resources from jar files ... 2019-08-18 15:49:32.344 INFO 11744 --- [ main] dev-updater : Visited 0 jar files. Took 1 ms. 2019-08-18 15:49:32.346 WARN 11744 --- [ main] dev-updater : Use the './' prefix for files in JAR files: 'flow-component-renderer.js', please update your component. 2019-08-18 15:49:32.364 ERROR 11744 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Exception sending context initialized event to listener instance of class [com.vaadin.flow.spring.VaadinServletContextInitializer$DevModeServletContextListener]

java.lang.IllegalStateException: Failed to update the Flow imports file 'D:\Devlopement\vaadin\my-starter-project\my-starter-project\target\frontend\generated-flow-imports.js' at com.vaadin.flow.server.frontend.TaskUpdateImports.execute(TaskUpdateImports.java:128) ~[flow-server-2.0.7.jar:2.0.7] at com.vaadin.flow.server.frontend.NodeTasks.execute(NodeTasks.java:367) ~[flow-server-2.0.7.jar:2.0.7] at com.vaadin.flow.server.startup.DevModeInitializer.initDevModeHandler(DevModeInitializer.java:239) ~[flow-server-2.0.7.jar:2.0.7] at com.vaadin.flow.spring.VaadinServletContextInitializer$DevModeServletContextListener.contextInitialized(VaadinServletContextInitializer.java:288) ~[vaadin-spring-12.0.3.jar:na] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4680) [tomcat-embed-core-9.0.22.jar:9.0.22] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5143) [tomcat-embed-core-9.0.22.jar:9.0.22] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [tomcat-embed-core-9.0.22.jar:9.0.22] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) [tomcat-embed-core-9.0.22.jar:9.0.22] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) [tomcat-embed-core-9.0.22.jar:9.0.22] at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.8.0_144] at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-embed-core-9.0.22.jar:9.0.22] at java.util.concurrent.AbstractExecutorService.submit(Unknown Source) [na:1.8.0_144] at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) [tomcat-embed-core-9.0.22.jar:9.0.22] at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841) [tomcat-embed-core-9.0.22.jar:9.0.22] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [tomcat-embed-core-9.0.22.jar:9.0.22] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) [tomcat-embed-core-9.0.22.jar:9.0.22] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) [tomcat-embed-core-9.0.22.jar:9.0.22] at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.8.0_144] at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-embed-core-9.0.22.jar:9.0.22] at java.util.concurrent.AbstractExecutorService.submit(Unknown Source) [na:1.8.0_144] at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) [tomcat-embed-core-9.0.22.jar:9.0.22] at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) [tomcat-embed-core-9.0.22.jar:9.0.22] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [tomcat-embed-core-9.0.22.jar:9.0.22] at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421) [tomcat-embed-core-9.0.22.jar:9.0.22] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [tomcat-embed-core-9.0.22.jar:9.0.22] at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:932) [tomcat-embed-core-9.0.22.jar:9.0.22] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [tomcat-embed-core-9.0.22.jar:9.0.22] at org.apache.catalina.startup.Tomcat.start(Tomcat.java:456) [tomcat-embed-core-9.0.22.jar:9.0.22] at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:105) [spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE] at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.(TomcatWebServer.java:86) [spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE] at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:416) [spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE] at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:180) [spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:180) [spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:153) [spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543) [spring-context-5.1.9.RELEASE.jar:5.1.9.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) [spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:743) [spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:390) [spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:312) [spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1214) [spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1203) [spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE] at com.specindia.imran.Application.main(Application.java:27) [classes/:na] Caused by: java.lang.IllegalStateException:

Failed to resolve the following files either: · in the /frontend sources folder · or as a META-INF/resources/frontend resource in some JAR. - ./src/components/search-bar.js - ./src/views/dashboard/dashboard-counter-label.js - ./src/views/orderedit/order-editor.js - ./src/views/errors/access-denied-view.js - ./src/components/offline-banner.js - ./src/views/orderedit/order-details.js - ./src/views/orderedit/order-item-editor.js - ./src/views/dashboard/dashboard-view.js - ./styles/shared-styles.js - ./src/views/storefront/storefront-view.js - ./src/components/amount-field.js Please, double check that those files exist.