Troubleshooting
Problem
1) yarn build-extensions command for generating IBM Sterling Store Engagement (Next-generation) extensions throws mentioned error:
ERROR: build-app: extension process exited with code: 1 and signal: null
Shutting down other builds running with PID: 85318,85670,85811,86111,86510,86896
1: 0x1057c4775 node::Abort() [/usr/local/bin/node]
2: 0x105833439 node::Abort(v8::FunctionCallbackInfo<v8::Value> const&) [/usr/local/bin/node]
3: 0x1059a3f28
Error Command failed with signal "SIGABRT".
Cause
In Angular 15, you cannot pass the
--prod
argument ("ng build <component_name> --prod ") to the ng
build command as it is deprecated.Resolving The Problem
1) Modify the package.json file for the components where the command is failing.
2) As per the error, build is failing in the override-component and override-model directory.
3) Go to extensions > override-component > package.json and replace the value:
Original value:
"build-app:extension":"ng build override-component –prod"
"build-app:extension":"ng build override-component –prod"
New value:
"build-app:extension": "ng build override-components --configuration production"
"build-app:extension": "ng build override-components --configuration production"
4) Make same changes in the override-models >package.json file as well.
5) Run yarn build-extensions command again from store-temp folder.
Note: This issue is fixed now in latest versions. If in case you are using older Angular version, you can make these changes to resolve this error.
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"ARM Category":[{"code":"a8m0z000000cxzVAAQ","label":"Call Center Store and SIM"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Product Synonym
Sterling Store Engagement
Was this topic helpful?
Document Information
Modified date:
20 December 2023
UID
ibm17060343