Comments (2)
Hi @julianloe
have you try npm install
in your project root ?
please check, if it is not work please install node
from vaadin-microservices-demo.
Hi @hashanchamikara ,
I was using the node installed by vaadin (located under ~/.vaadin )
I tried to replace it with a custom install of node like
--https://github.com/nvm-sh/nvm#installing-and-updating curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash nvm install 12.22.1 rm -r node_modules rm package-lock.json pnpm install npm install rm -r ~/.npm npm install
my tries with pnpm led to no success, then i tried to remove the node_modules and also the cached node_modules.. at the end the npm install ran without errors, but still, when launching the application it is running npm install again, and this persists to fail:
2021-04-28 16:34:23.012 INFO 170181 --- [ main] dev-updater : Running
npm install` to resolve and optionally download frontend dependencies. This may take a moment, please stand by...
2021-04-28 16:34:31.099 INFO 170181 --- [n.HealthMonitor] c.h.internal.diagnostics.HealthMonitor : [10.0.2.15]:5701 [admin] [3.12.7] processors=2, physical.memory.total=9.7G, physical.memory.free=132.6M, swap.space.total=1.8G, swap.space.free=1.8G, heap.memory.used=747.8M, heap.memory.free=154.7M, heap.memory.total=902.5M, heap.memory.max=2.2G, heap.memory.used/total=82.86%, heap.memory.used/max=33.75%, minor.gc.count=0, minor.gc.time=0ms, major.gc.count=0, major.gc.time=0ms, load.process=0.00%, load.system=100.00%, load.systemAverage=1.07, thread.count=40, thread.peakCount=40, cluster.timeDiff=0, event.q.size=0, executor.q.async.size=0, executor.q.client.size=0, executor.q.client.query.size=0, executor.q.client.blocking.size=0, executor.q.query.size=0, executor.q.scheduled.size=0, executor.q.io.size=0, executor.q.system.size=0, executor.q.operations.size=0, executor.q.priorityOperation.size=0, operations.completed.count=274, executor.q.mapLoad.size=0, executor.q.mapLoadAllKeys.size=0, executor.q.cluster.size=0, executor.q.response.size=0, operations.running.count=0, operations.pending.invocations.percentage=0.00%, operations.pending.invocations.count=0, proxy.count=0, clientEndpoint.count=0, connection.active.count=0, client.connection.count=0, connection.count=0
npm WARN no-name@ No description
npm WARN no-name@ No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
2021-04-28 16:34:32.842 INFO 170181 --- [ main] dev-updater : Frontend dependencies resolved successfully.
2021-04-28 16:34:32.848 INFO 170181 --- [ main] dev-updater : Copying frontend resources from jar files ...
2021-04-28 16:34:32.850 INFO 170181 --- [ main] dev-updater : Visited 0 resources. Took 2 ms.
2021-04-28 16:34:32.975 INFO 170181 --- [ main] dev-updater :
Failed to find the following imports in the node_modules
tree:
- @vaadin/flow-frontend/datepickerConnector.js
- @vaadin/flow-frontend/contextMenuConnector-es6.js
- @vaadin/flow-frontend/comboBoxConnector.js
- @vaadin/flow-frontend/VaadinDevmodeGizmo.js
- @vaadin/flow-frontend/ironListConnector.js
- @vaadin/flow-frontend/timepickerConnector.js
- @vaadin/flow-frontend/comboBoxConnector-es6.js
- @vaadin/flow-frontend/ironListStyles.js
- @vaadin/flow-frontend/selectConnector.js
- @vaadin/flow-frontend/vaadin-big-decimal-field.js
- @vaadin/flow-frontend/contextMenuConnector.js
- @vaadin/flow-frontend/gridConnector.js
- @vaadin/flow-frontend/flow-component-renderer.js
- @vaadin/flow-frontend/gridConnector-es6.js
- @vaadin/flow-frontend/dndConnector-es6.js
- @vaadin/flow-frontend/ironListConnector-es6.js
- @vaadin/flow-frontend/menubarConnector.js
- @vaadin/flow-frontend/vaadin-grid-flow-selection-column.js
- @vaadin/flow-frontend/dndConnector.js
If the build fails, check that npm packages are installed.
To fix the build remove pnpm-lock.yaml
and node_modules
directory to reset modules.
In addition you may run pnpm install
to fix node_modules
tree structure.
Make sure first that pnpm
command is installed, otherwise you should install it using npm: npm add -g [email protected]
2021-04-28 16:34:32.981 INFO 170181 --- [ main] dev-updater : No js modules to update '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend/generated-flow-imports.js' file
------------------ Starting Frontend compilation. ------------------
2021-04-28 16:34:33.313 INFO 170181 --- [ main] dev-webpack : Running webpack to compile frontend resources. This may take a moment, please stand by...
2021-04-28 16:34:37.985 ERROR 170181 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 16:34:37.986 ERROR 170181 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/VaadinDevmodeGizmo.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 16:34:37.986 ERROR 170181 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 7:0-53
2021-04-28 16:34:37.988 ERROR 170181 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 16:34:37.989 ERROR 170181 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/comboBoxConnector-es6.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 16:34:37.990 ERROR 170181 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 8:0-56
2021-04-28 16:34:37.991 ERROR 170181 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 16:34:37.991 ERROR 170181 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/comboBoxConnector.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 16:34:37.992 ERROR 170181 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 72:0-52
2021-04-28 16:34:37.992 ERROR 170181 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 16:34:37.992 ERROR 170181 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/contextMenuConnector-es6.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 16:34:37.992 ERROR 170181 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 9:0-59
2021-04-28 16:34:37.993 ERROR 170181 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 16:34:37.993 ERROR 170181 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/contextMenuConnector.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 16:34:37.993 ERROR 170181 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 73:0-55
2021-04-28 16:34:37.993 ERROR 170181 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 16:34:37.993 ERROR 170181 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/datepickerConnector.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 16:34:37.993 ERROR 170181 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 10:0-54
2021-04-28 16:34:37.993 ERROR 170181 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 16:34:37.994 ERROR 170181 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/dndConnector-es6.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 16:34:37.994 ERROR 170181 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 11:0-51
2021-04-28 16:34:37.994 ERROR 170181 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 16:34:37.994 ERROR 170181 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/dndConnector.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 16:34:37.994 ERROR 170181 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 74:0-47
2021-04-28 16:34:37.994 ERROR 170181 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 16:34:37.994 ERROR 170181 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/flow-component-renderer.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 16:34:37.994 ERROR 170181 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 12:0-58
2021-04-28 16:34:37.995 ERROR 170181 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 16:34:37.995 ERROR 170181 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/gridConnector-es6.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 16:34:37.995 ERROR 170181 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 13:0-52
2021-04-28 16:34:37.995 ERROR 170181 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 16:34:37.995 ERROR 170181 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/gridConnector.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 16:34:37.995 ERROR 170181 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 75:0-48
2021-04-28 16:34:37.996 ERROR 170181 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 16:34:37.996 ERROR 170181 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/ironListConnector-es6.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 16:34:37.999 ERROR 170181 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 14:0-56
2021-04-28 16:34:37.999 ERROR 170181 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 16:34:37.999 ERROR 170181 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/ironListConnector.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 16:34:37.999 ERROR 170181 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 76:0-52
2021-04-28 16:34:38.000 ERROR 170181 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 16:34:38.000 ERROR 170181 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/ironListStyles.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 16:34:38.000 ERROR 170181 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 15:0-49
2021-04-28 16:34:38.000 ERROR 170181 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 16:34:38.000 ERROR 170181 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/menubarConnector.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 16:34:38.000 ERROR 170181 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 16:0-51
2021-04-28 16:34:38.000 ERROR 170181 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 16:34:38.000 ERROR 170181 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/selectConnector.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 16:34:38.001 ERROR 170181 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 77:0-50
2021-04-28 16:34:38.001 ERROR 170181 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 16:34:38.001 ERROR 170181 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/timepickerConnector.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 16:34:38.001 ERROR 170181 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 17:0-54
2021-04-28 16:34:38.001 ERROR 170181 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 16:34:38.002 ERROR 170181 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/vaadin-big-decimal-field.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 16:34:38.002 ERROR 170181 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 18:0-59
2021-04-28 16:34:38.002 ERROR 170181 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 16:34:38.002 ERROR 170181 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/vaadin-grid-flow-selection-column.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 16:34:38.002 ERROR 170181 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 19:0-68
2021-04-28 16:34:38.002 ERROR 170181 --- [ webpack] dev-webpack : ℹ 「wdm」: Failed to compile.
2021-04-28 16:34:38.003 ERROR 170181 --- [ webpack] dev-webpack :
------------------ Frontend compilation failed. -----------------
`
from vaadin-microservices-demo.
Related Issues (8)
- spring-boot-starter-parent version cannot be resolved HOT 1
- Embedded pages complaining that cookies are disabled. HOT 8
- issue running discovery server HOT 2
- Webpack Error HOT 2
- Delete in CrudView does not work. HOT 1
- org.vaadin.crudui.crudui 4.3.2 not available ? HOT 1
- How to use PreserveOnRefresh HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vaadin-microservices-demo.