Expand my Community achievements bar.

SOLVED

Error while doing mvn clean install

Avatar

Level 4

Hi, I am getting this error after cloning the repo i am doing mvn clean install

(npm ci) on project xxxx.ui.frontend: Failed to run task: 'npm ci' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException


using node version : v18.13.0
npm version: 8.15.0

Thanks in advance

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 4

npm install in frontend resolves my issue Thanks!

View solution in original post

3 Replies

Avatar

Community Advisor

Which repo are you trying to clone? What else do you see if you add the  -X parameter while running mvn clean install? 



Esteban Bustamante

Avatar

Community Advisor

Maybe you are adding incorrect value for the node and npm versions in pom.

Can you share the pom.xml snippet for the node and npm versions?

Avatar

Correct answer by
Level 4

npm install in frontend resolves my issue Thanks!