You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are missing a files from node_modules, which seems to happen way more often than you would like you get a quite needlessly filtered error output in the browser that does not say much about the problem.
What you will see in the browser when opening the app is
Webpack Error
Webpack build failed with errors:
ERROR in ../node_modules/@vaadin/vaadin-ordered-layout/theme/lumo/vaadin-horizontal-layout.js
ERROR in ../node_modules/@vaadin/vaadin-ordered-layout/theme/lumo/vaadin-horizontal-layout.js
Problems here are:
There is no ERROR in the given file, the problem is that it is missing
Based on the error message, there is nothing I can do to try to fix it except for mvn clean, which does not help
The more useful information is output to the server console, but hidden way up in the log so you won't necessarily notice the error by looking at the log in e.g. Eclipse
Running webpack to compile frontend resources. This may take a moment, please stand by...
ERROR in ../node_modules/@vaadin/vaadin-ordered-layout/theme/lumo/vaadin-horizontal-layout.js
Module not found: Error: Can't resolve './vaadin-horizontal-layout-styles.js' in '/.../node_modules/@vaadin/vaadin-ordered-layout/theme/lumo'
@ ../node_modules/@vaadin/vaadin-ordered-layout/theme/lumo/vaadin-horizontal-layout.js 1:0-46
@ ../target/frontend/generated-flow-imports.js
ERROR in ../node_modules/@vaadin/vaadin-ordered-layout/theme/lumo/vaadin-horizontal-layout.js
Module not found: Error: Can't resolve './vaadin-horizontal-layout-styles.js' in '.../node_modules/@vaadin/vaadin-ordered-layout/theme/lumo'
@ ../node_modules/@vaadin/vaadin-ordered-layout/theme/lumo/vaadin-horizontal-layout.js 1:0-46
@ ../target/frontend/generated-flow-imports.js
ℹ 「wdm」: Failed to compile.
While this message is not super useful either it still makes me realize that the problem is a missing file in node_modules so the problem is not in my project but in a dependency or the installation of the dependencies.
The relevant info should definitely not be removed. I think it used to be there in earlier versions. Tested with 14.1.20
The text was updated successfully, but these errors were encountered:
If you are missing a files from
node_modules
, which seems to happen way more often than you would like you get a quite needlessly filtered error output in the browser that does not say much about the problem.If you do e.g.
ctrl-c when server is started
What you will see in the browser when opening the app is
Problems here are:
mvn clean
, which does not helpWhile this message is not super useful either it still makes me realize that the problem is a missing file in
node_modules
so the problem is not in my project but in a dependency or the installation of the dependencies.The relevant info should definitely not be removed. I think it used to be there in earlier versions. Tested with 14.1.20
The text was updated successfully, but these errors were encountered: