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?
Solved! Go to Solution.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Thank you, Aswini. Adding this to our ui.frontend folder worked.