Trying to update to 2023.2.235 of AEM Guides as a Cloud Service and getting an error | Community
Skip to main content
Level 3
March 3, 2023
Solved

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

  • March 3, 2023
  • 1 reply
  • 861 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by AswiniLakshminarayanan

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

1 reply

AswiniLakshminarayananAdobe EmployeeAccepted solution
Adobe Employee
March 6, 2023

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

ndlholm1Author
Level 3
March 6, 2023

Thank you, Aswini. Adding this to our ui.frontend folder worked.