IBM Support

Error: Command failed: sleep 15 - "'sleep' is not recognized as an internal or external command" in IBM Sterling Store Engagement (Next-generation) customization

Troubleshooting


Problem

The following error is observed while yarn start-app command is running in window local customization setup.

INFO: Starting store-root-config application...
‘sleep' is not recognized as an internal or external command,
operable program or batch file.
node:child_process:960
Throw err;
 ^
Error: Command failed: sleep 15
‘sleep' is not recognized as an internal or external command.

Diagnosing The Problem

This error is mostly observed with Windows OS as sometimes some yarn commands fails in windows.

Resolving The Problem

1) Install Git bash for windows or any bash shell to execute yarn commands.

2) Run the yarn command again from Git terminal instead of running it from code editors.

You can download it from the site-
Git - Downloading Package (git-scm.com)

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":"a8m50000000L1tEAAS","label":"Archive (DO NOT USE)-\u003EWeb Store-\u003ECustomization"},{"code":"a8m0z000000cxzVAAQ","label":"Call Center Store and SIM"}],"ARM Case Number":"TS014276605","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
20 December 2023

UID

ibm17059775