Skip to Content
0
Apr 23 at 10:06 AM

Error when initializing 2105.9 OOB

471 Views Last edit May 03 at 06:11 PM 5 rev

Hi,

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

Command:

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

Error:
[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.

[exec

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

....\hybris\bin\modules\npm-ancillary\npmancillary\resources\npm\node\node-v16.14.0-win-x64".

Are there any prerequisites to follow before installing recipe?