Pipeline Build fails for frontend module without any update
Hi,
Recently we tried to deploy changes to dev pipeline but build fails for frontend module with below error:
ERROR in /build_root/build/samsclubcloudservices-p16404/ui.frontend/node_modules/@types/gensync/index.d.ts
06:30:05,974 [Exec Stream Pumper] [INFO] [tsl] ERROR in /build_root/build/samsclubcloudservices-p16404/ui.frontend/node_modules/@types/gensync/index.d.ts(45,34)
error:
11:29:56,079 [main] [INFO] Reactor Summary for samsclub-aem-assets 1.0-SNAPSHOT:
11:29:56,079 [main] [INFO]
11:29:56,079 [main] [INFO] samsclub-aem-assets ................................ SUCCESS [ 2.786 s]
11:29:56,079 [main] [INFO] Sam's Club - Core .................................. SUCCESS [01:06 min]
11:29:56,080 [main] [INFO] samsclub-aem-assets.ui.frontend - UI Frontend ...... FAILURE [ 47.599 s]
11:29:56,080 [main] [INFO] Sam's Club - Repository Structure Package .......... SKIPPED
11:29:56,080 [main] [INFO] Sam's Club - UI apps ............................... SKIPPED
11:29:56,080 [main] [INFO] Sam's Club - UI content ............................ SKIPPED
11:29:56,080 [main] [INFO] Sam's Club - All ................................... SKIPPED
11:29:56,080 [main] [INFO] Sam's Club - Dispatcher ............................ SKIPPED
11:29:56,080 [main] [INFO] ------------------------------------------------------------------------
11:29:56,080 [main] [INFO] BUILD FAILURE
11:29:56,080 [main] [INFO] ------------------------------------------------------------------------
11:29:56,080 [main] [INFO] Total time: 02:03 min
11:29:56,080 [main] [INFO] Finished at: 2025-02-13T11:29:56Z
11:29:56,080 [main] [INFO] ------------------------------------------------------------------------
11:29:56,082 [main] [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.0:npm (npm run prod) on project samsclub-aem-assets.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]
Not able to figure out why ui.frontend is failing bcz we are not working in that folder. Tried changing node and npm version in pom but it's failing locally.
Please help us resolve this since this is a blocker.
Thank you.
