Symptom
Customized SAP Commerce Platform might have issues performing build using custom Smartedit extensions with newer Patch Version (for example updating from Patch 2105.17 into 2105.18).
In logs you can see the below issue with pnpm install command failure along with some missing depedency.
2022-12-14 08:36:45,556 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] The shrinkwrap file contains the following issues:
2022-12-14 08:36:45,556 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] Your shrinkwrap file references "@rush-temp/<CustomSmartEditExtensionName>" which was not found in rush.json
2022-12-14 08:36:45,556 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] Your shrinkwrap file references "@rush-temp/<CustomSmartEditExtensionName>" which was not found in rush.json
2022-12-14 08:36:45,556 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] Your shrinkwrap file references "@rush-temp/<CustomSmartEditExtensionName>" which was not found in rush.json
2022-12-14 08:36:45,556 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] Missing dependency "@angular/animations" (8.2.14) required by (...)
2022-12-14 08:36:45,556 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] Missing dependency "@angular/cdk" (8.2.3) required by (...)
2022-12-14 08:36:45,556 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] Missing dependency "@angular/common" (8.2.14) required by (...)
2022-12-14 08:36:45,556 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] Missing dependency "@angular/compiler" (8.2.14) required by (...)
2022-12-14 08:36:45,556 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] Missing dependency "@angular/core" (8.2.14) required by (...)
(...)
2022-12-14 08:36:46,460 INFO d.h.c.e.Executor [Thread-22] stdout: [exec]
2022-12-14 08:36:46,460 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] Running "pnpm install" in /opt/workspace/build/commerce-suite/hybris/bin/modules/smartedit/smartedittools/common/temp
2022-12-14 08:36:46,460 INFO d.h.c.e.Executor [Thread-22] stdout: [exec]
2022-12-14 08:37:49,428 INFO d.h.c.e.Executor [Thread-22] stdout: [exec]
2022-12-14 08:37:49,429 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] The command failed:
2022-12-14 08:37:49,429 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] /opt/workspace/build/commerce-suite/hybris/bin/modules/smartedit/smartedittools/common/temp/pnpm-local/node_modules/.bin/pnpm install --no-prefer-frozen-lockfile --strict-peer-dependencies
2022-12-14 08:37:49,429 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] ERROR: Error: The command failed with exit code 1
2022-12-14 08:37:49,429 INFO d.h.c.e.Executor [Thread-22] stdout: [exec]
2022-12-14 08:37:49,429 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] Trying again (attempt #2)...
2022-12-14 08:37:49,429 INFO d.h.c.e.Executor [Thread-22] stdout: [exec]
2022-12-14 08:37:49,429 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] Deleting the "node_modules" folder
2022-12-14 08:38:24,380 INFO d.h.c.e.Executor [Thread-22] stdout: [exec]
2022-12-14 08:38:24,380 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] The command failed:
2022-12-14 08:38:24,380 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] /opt/workspace/build/commerce-suite/hybris/bin/modules/smartedit/smartedittools/common/temp/pnpm-local/node_modules/.bin/pnpm install --no-prefer-frozen-lockfile --strict-peer-dependencies
2022-12-14 08:38:24,380 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] ERROR: Error: The command failed with exit code 1
2022-12-14 08:38:24,380 INFO d.h.c.e.Executor [Thread-22] stdout: [exec]
2022-12-14 08:38:24,380 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] Trying again (attempt #3)...
2022-12-14 08:38:24,380 INFO d.h.c.e.Executor [Thread-22] stdout: [exec]
2022-12-14 08:38:24,380 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] Deleting the "node_modules" folder
2022-12-14 08:38:54,814 INFO d.h.c.e.Executor [Thread-22] stdout: [exec]
2022-12-14 08:38:54,814 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] The command failed:
2022-12-14 08:38:54,814 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] /opt/workspace/build/commerce-suite/hybris/bin/modules/smartedit/smartedittools/common/temp/pnpm-local/node_modules/.bin/pnpm install --no-prefer-frozen-lockfile --strict-peer-dependencies
2022-12-14 08:38:54,814 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] ERROR: Error: The command failed with exit code 1
2022-12-14 08:38:54,814 INFO d.h.c.e.Executor [Thread-22] stdout: [exec]
2022-12-14 08:38:54,818 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] Giving up after 3 attempts
2022-12-14 08:38:54,818 INFO d.h.c.e.Executor [Thread-22] stdout: [exec]
2022-12-14 08:38:54,818 INFO d.h.c.e.Executor [Thread-22] stdout: [exec]
2022-12-14 08:38:54,818 INFO d.h.c.e.Executor [Thread-22] stdout: [exec] ERROR: The command failed with exit code 1
2022-12-14 08:38:54,818 INFO d.h.c.e.Executor [Thread-22] stdout: [exec]
2022-12-14 08:38:54,826 INFO d.h.c.e.Executor [Thread-23] stderr:
2022-12-14 08:38:54,827 INFO d.h.c.e.Executor [Thread-23] stderr: BUILD FAILED
Read more...
Environment
SAP Commerce Cloud
Product
Keywords
Smartedit, custom extension, pnpm install, missing dependencies, new Patch Version, build, fails, shrinkwrap, file contains the following issues , KBA , CEC-SCC-CLA-BUI , Build Process , CEC-SCC-COM-SEDIT , SmartEdit , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.