Expand my Community achievements bar.

SOLVED

Trying to update to 2023.2.235 of AEM Guides as a Cloud Service and getting an error

Avatar

Level 4

Hello -- When running the production pipeline to update to version 2023.2.235 of AEM Guides as a Cloud Service, I receive the following error: 

 

Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.0:npm (npm run prod) on project aemaacs-dox-project-ui-frontend: Failed to run task: 'npm run prod' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 2 (Exit value: 2) -> [Help 1]

 

We haven't run into this issue before when updating previous versions of AEM Guides as a Cloud Service. Can anyone tell me what needs to be done to fix this?

1 Accepted Solution

Avatar

Correct answer by
Level 6

Hi @ndlholm1 

Please include the attached package (package-lock.json file) to the ui.frontend module in the project repo and rerun the deployment. This change was introduced in the latest AEM archetype project, and you can find further information about it at this link: https://github.com/adobe/aem-project-archetype/pull/867

View solution in original post

2 Replies

Avatar

Correct answer by
Level 6

Hi @ndlholm1 

Please include the attached package (package-lock.json file) to the ui.frontend module in the project repo and rerun the deployment. This change was introduced in the latest AEM archetype project, and you can find further information about it at this link: https://github.com/adobe/aem-project-archetype/pull/867