Skip to main content
Level 3
Jul 18, 2023 3:05 PM UTC
Solved

Error while doing mvn clean install

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
tatrivedAccepted solution
Level 3
Jul 25, 2023 2:51 PM UTC

npm install in frontend resolves my issue Thanks!

3 replies

tatrivedAuthorAccepted solution
Level 3
Jul 25, 2023 2:51 PM UTC

npm install in frontend resolves my issue Thanks!

Translate
rawvarun
New Participant
Jul 25, 2023 2:49 PM UTC

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?

Translate
EstebanBustamante
New Participant
Jul 24, 2023 1:41 PM UTC

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

Translate
Esteban Bustamante