IBM Support

Error | Bootstrap command not found | IBM Sterling Store Engagement (Next-generation) customization local setup

Troubleshooting


Problem

1) Encountered following error while running yarn bootstrap command in local setup for IBM Sterling Store Engagement (Next-generation) source code:
Error Command "bootstrap" not found.
Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Resolving The Problem

Possible solutions to resolve this issue:
Solution 1:
1) Do not run npm init from store-frontend src folder, otherwise it overrides the OOTB dependencies inside package.json. Instead, run npm init from any other directory of your local machine.
Follow step 8 of the documentation: https://www.ibm.com/docs/en/store-engagement?topic=interface-setting-up-ui-middleware
Solution 2:
1) Run following commands from store-frontend-src folder:
-   rm -rf node_modules
-   yarn install
-   npm i bootstrap

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

Document Information

Modified date:
20 December 2023

UID

ibm17059816