Symptom
Computer does not have access to the internet and it's necessary to install SAP Commerce with SmartEdit, but npm install fails.
The logs show something similar to:
[echo] verdaccio.cache is set to: false
[echo] Running [rush update] on path /hybris/hybris/bin/modules/smartedit/smartedittools
[exec]
[exec]
[exec] Rush Multi-Project Build Tool 5.59.2 - https://rushjs.io
[exec] Node.js version is 16.13.2 (LTS)
[exec]
[exec]
[exec] Starting "rush update"
[exec]
[exec] Ignoring Git validation because this is not a Git working folder.
[exec]
[exec] Trying to acquire lock for pnpm-5.18.10
[exec] Acquired lock for pnpm-5.18.10
[exec] Installing pnpm version 5.18.10
[exec]
[exec] Deleting old files from /root/.rush/node-v16.13.2/pnpm-5.18.10
[exec] Transforming /hybris/hybris/bin/modules/smartedit/smartedittools/common/config/rush/.npmrc
[exec] --> "/root/.rush/node-v16.13.2/pnpm-5.18.10/.npmrc"
[exec]
[exec] Running "npm install" in /root/.rush/node-v16.13.2/pnpm-5.18.10
[exec] npm ERR! code ETIMEDOUT
[exec] npm ERR! syscall connect
[exec] npm ERR! errno ETIMEDOUT
[exec] npm ERR! network request to https://registry.npmjs.org/pnpm failed, reason: connect ETIMEDOUT 104.16.16.35:443
[exec] npm ERR! network This is a problem related to network connectivity.
[exec] npm ERR! network In most cases you are behind a proxy or have bad network settings.
[exec] npm ERR! network
[exec] npm ERR! network If you are behind a proxy, please make sure that the
[exec] npm ERR! network 'proxy' config is set properly. See: 'npm help config'
[exec]
[exec] npm ERR! A complete log of this run can be found in:
[exec] npm ERR! /root/.npm/_logs/2022-03-31T14_36_28_204Z-debug.log
[exec]
[exec] The command failed:
[exec] npm install
[exec] ERROR: Error: The command failed with exit code 1
[exec]
[exec] Trying again (attempt #2)...
[exec]
[exec] npm ERR! code ETIMEDOUT
[exec] npm ERR! syscall connect
[exec] npm ERR! errno ETIMEDOUT
[exec] npm ERR! network request to https://registry.npmjs.org/pnpm failed, reason: connect ETIMEDOUT 104.16.21.35:443
[exec] npm ERR! network This is a problem related to network connectivity.
[exec] npm ERR! network In most cases you are behind a proxy or have bad network settings.
[exec] npm ERR! network
[exec]
[exec] The command failed:
[exec] npm install
[exec] ERROR: Error: The command failed with exit code 1
[exec]
[exec] Trying again (attempt #3)...
[exec]
[exec] npm ERR! network If you are behind a proxy, please make sure that the
[exec] npm ERR! network 'proxy' config is set properly. See: 'npm help config'
[exec]
[exec] npm ERR! A complete log of this run can be found in:
[exec] npm ERR! /root/.npm/_logs/2022-03-31T14_44_06_956Z-debug.log
[exec]
[exec] The command failed:
[exec] npm install
[exec] ERROR: Error: The command failed with exit code 1
[exec]
[exec] npm ERR! code ETIMEDOUT
[exec] npm ERR! syscall connect
[exec] npm ERR! errno ETIMEDOUT
[exec] npm ERR! network request to https://registry.npmjs.org/pnpm failed, reason: connect ETIMEDOUT 104.16.26.35:443
[exec] npm ERR! network This is a problem related to network connectivity.
[exec] npm ERR! network In most cases you are behind a proxy or have bad network settings.
[exec] npm ERR! network
[exec] npm ERR! network If you are behind a proxy, please make sure that the
[exec] npm ERR! network 'proxy' config is set properly. See: 'npm help config'
[exec]
[exec] npm ERR! A complete log of this run can be found in:
[exec] npm ERR! /root/.npm/_logs/2022-03-31T14_51_45_708Z-debug.log
[exec] Giving up after 3 attempts
[exec]
[exec]
[exec] ERROR: The command failed with exit code 1
[exec]
BUILD FAILED
/hybris/hybris/bin/platform/build.xml:13: The following error occurred while executing this line:
/hybris/hybris/bin/platform/resources/ant/compiling.xml:75: The following error occurred while executing this line:
/hybris/hybris/bin/platform/resources/ant/compiling.xml:133: The following error occurred while executing this line:
/hybris/hybris/bin/platform/resources/ant/util.xml:13: The following error occurred while executing this line:
/hybris/hybris/bin/platform/resources/ant/compiling.xml:140: The following error occurred while executing this line:
/hybris/hybris/bin/platform/resources/ant/compiling.xml:269: The following error occurred while executing this line:
/hybris/hybris/bin/platform/resources/ant/util.xml:132: The following error occurred while executing this line:
/hybris/hybris/bin/modules/smartedit/smartedittools/buildcallbacks.xml:145: The following error occurred while executing this line:
/hybris/hybris/bin/modules/npm-ancillary/npmancillary/buildcallbacks.xml:461: The following error occurred while executing this line:
/hybris/hybris/bin/modules/npm-ancillary/npmancillary/buildcallbacks.xml:140: exec returned: 1
Read more...
Environment
SAP Commerce
Product
Keywords
smartedit, internet, smartedittools, install, error, npm, offline , KBA , CEC-SCC-COM-SEDIT , SmartEdit , CEC-SCC-CLA-BUI , Build Process , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.