Starting Webpack in dev mode

Created a spring-boot/vaadin project, installed npm etc and run maven spring-boot:run, webpack is started in dev mode tho I receive this error.

Any idea what could be wrong?

2019-06-27 10:04:09.833  WARN 1463 --- [  restartedMain]
 dev-updater                              : Use the './' prefix for resources in JAR files: 'flow-component-renderer.js', please update your component.
....
ERROR in ../target/frontend/node_modules/@vaadin/vaadin-core-shrinkwrap/node_modules/@vaadin/vaadin-usage-statistics/check.js
2019-06-27 09:53:36.180 ERROR 1404 --- [        webpack]
                                          : Module not found: Error: Can't resolve 'fs' in '/Volumes/NifityDrive/git/project/portalVaadin14/target/frontend/node_modules/@vaadin/vaadin-core-shrinkwrap/node_modules/@vaadin/vaadin-usage-statistics'
2019-06-27 09:53:36.180 ERROR 1404 --- [        webpack]
                                          :  @ ../target/frontend/node_modules/@vaadin/vaadin-core-shrinkwrap/node_modules/@vaadin/vaadin-usage-statistics/check.js 1:9-22
2019-06-27 09:53:36.180 ERROR 1404 --- [        webpack]
                                          :  @ ../target/frontend/generated-flow-imports.js
2019-06-27 09:53:36.180 ERROR 1404 --- [        webpack]
                                          : 
2019-06-27 09:53:36.180 ERROR 1404 --- [        webpack]
                                          : ERROR in ../target/frontend/node_modules/@vaadin/vaadin-core-shrinkwrap/node_modules/@vaadin/vaadin-usage-statistics/check.js
2019-06-27 09:53:36.180 ERROR 1404 --- [        webpack]
                                          : Module not found: Error: Can't resolve 'fs' in '/Volumes/NifityDrive/git/project/portalVaadin14/target/frontend/node_modules/@vaadin/vaadin-core-shrinkwrap/node_modules/@vaadin/vaadin-usage-statistics'
2019-06-27 09:53:36.181 ERROR 1404 --- [        webpack]
                                          :  @ ../target/frontend/node_modules/@vaadin/vaadin-core-shrinkwrap/node_modules/@vaadin/vaadin-usage-statistics/check.js 1:9-22
2019-06-27 09:53:36.181 ERROR 1404 --- [        webpack]
                                          :  @ ../target/frontend/generated-flow-imports.js
2019-06-27 09:53:36.181 ERROR 1404 --- [        webpack]
                                          : ℹ 「wdm」: Failed to compile.

Hi Adam. I’m not able to reproduce this, can you please try again by updating to version 14.0.0.rc2 ? We’ve updated the starters to use that version.

If you’ve already done changes on the project, you might have to remove node_modules, package-lock.json and /target folder when updating the version. And yes, we are working on a fix to make the version update not require removing those things …

Thanks Pekka, updated to 14.0.0.rc2 and works fine, many thanks

Today en Version 14.0.0 LTS
i have the same Error. But with this error:

ERROR in …/target/frontend/generated-flow-imports.js
Module not found: Error: Can’t resolve ‘@vaadin/flow-frontend/flow-component-renderer.js’ in ‘F:\Desarrollo\Proyectos\x-finance-app\target\frontend’
@ …/target/frontend/generated-flow-imports.js 12:0-58

Please help

Hi Luis. Please can you try again after updating to version 14.0.1 ?

If it still happens, can you please test it with one of the starters from vaadin.com/start and if you can reproduce it with that one, you should open an issue to https://github.com/vaadin/flow/issues/new . I’m afraid just based on the error message we cannot figure out what is going wrong.

Thanks Pekka, It´s Works Fine with Vaadin 14.0.1
Thank you So Much