내 커뮤니티 업적 표시줄을 확대합니다.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

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 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 7

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

원본 게시물의 솔루션 보기

2 답변 개

Avatar

정확한 답변 작성자:
Level 7

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

Avatar

Level 4

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