Skip to Content
Apr 23, 2022 at 10:06 AM

Error when initializing 2105.9 OOB

1809 Views Last edit May 03, 2022 at 06:11 PM 5 rev


I am trying to setup OOB code with 2105.9 version. When running initialize command, below error is thrown. Can some one please help on resolving this. I installed nodejs and verified from commandprompt.

SAP Hybris version=2105.9


install.bat -r cx initialize -A local_property:initialpasswor....

[exec] Error: Unable to install package: Error: Unable to determine the path to the NPM tool: Error: Command failed: where npm

[exec] 'where' is not recognized as an internal or external command,

[exec] operable program or batch file.


Caused by: java.lang.IllegalStateException: external process returned non-zero exit code, command: [cmd, /c, set "ANT_OPTS=-Xmx1024m -Dfile.encoding=UTF-8" & set "PLATFORM_HOME=C:\CX2105OOB\CXCOMM210500P_9-70005661\hybris\bin\platform" & set "ANT_HOME=C:\CX2105OOB\CXCOMM210500P_9-70005661\hybris\bin\platform\apache-ant" & set "PATH=C:\CX2105OOB\CXCOMM210500P_9-70005661\hybris\bin\platform\apache-ant\bin;%PATH%" & ant clean all]

Is there any thing specific to verify on nodejs installation. I have updated System Variable "Path" to


Are there any prerequisites to follow before installing recipe?