Npm install has exited with non zero status

hello,

i’m trying to deploy a the vaadim-crm (tutorial) to my wildfly 19 but i’m getting this error during the deploy

could you help me please?

Thx

M

{“WFLYCTL0080: Failed services” => {“jboss.deployment.unit."vaadin-crm.war".undertow-deployment” =>
“java.lang.RuntimeException: javax.servlet.ServletException: com.vaadin.flow.server…
ExecutionFailedException:
Npm install has exited with non zero status. Some dependencies are not installed.
Check npm command output
Caused by: java.lang.RuntimeException: javax.servlet.ServletException:
com.vaadin.flow.server.ExecutionFailedException: Npm install has exited
with non zero status. Some dependencies are not installed. Check npm command output
Caused by: javax.servlet.ServletException: com.vaadin.flow.server.ExecutionFailedException:
Npm install has exited with non zero status. Some dependencies are not installed.
Check npm command output
Caused by: com.vaadin.flow.server.ExecutionFailedException: Npm install has
exited with non zero status. Some dependencies are not installed. Check npm command output”}}

I am having a similar problem but pnpm, my project worked fine until I decide to use the “new and faster” feat of Vaadin 14 so I tried to install pnpm install, now doesn’t run anymore.

Did you solve it?

Just did this and helped me:
npm cache clean --force
and then mvn jetty:run