SAP Knowledge Base Article - Preview

3412048 - Build failed due to could not reach out to npm/rush repo on China region

Symptom

Build failed due to could not connect to repo of rush in China region, here is build log snippet:

2023-12-12 02:55:16,998 INFO d.h.c.h.PrintOutputHandler [Thread-25] stdout:      [echo] Running [npm config set loglevel silent]

2023-12-12 02:55:17,412 INFO d.h.c.h.PrintOutputHandler [Thread-25] stdout:      [echo] 

2023-12-12 02:55:17,412 INFO d.h.c.h.PrintOutputHandler [Thread-25] stdout:      [echo] check verdaccio.cache: /opt/workspace/build/commerce-suite/hybris/bin/modules/npm-ancillary/npmancillary/resources/npm/verdaccio/.cache 

2023-12-12 02:55:17,412 INFO d.h.c.h.PrintOutputHandler [Thread-25] stdout:      [echo] verdaccio.cache is set to: false

2023-12-12 02:55:17,412 INFO d.h.c.h.PrintOutputHandler [Thread-25] stdout:      [echo] Running [rush update --bypass-policy] on path /opt/workspace/build/commerce-suite/hybris/bin/modules/smartedit/smartedittools

2023-12-12 02:55:17,516 INFO d.h.c.h.PrintOutputHandler [Thread-25] stdout:      [exec] The rush.json configuration requests Rush version 5.100.1

2023-12-12 02:55:17,516 INFO d.h.c.h.PrintOutputHandler [Thread-25] stdout:      [exec] Transforming /opt/workspace/build/commerce-suite/hybris/bin/modules/smartedit/smartedittools/common/config/rush/.npmrc

2023-12-12 02:55:17,516 INFO d.h.c.h.PrintOutputHandler [Thread-25] stdout:      [exec]   --> "/opt/workspace/build/commerce-suite/hybris/bin/modules/smartedit/smartedittools/common/temp/install-run/@microsoft+rush@5.100.1/.npmrc"

2023-12-12 02:55:17,516 INFO d.h.c.h.PrintOutputHandler [Thread-25] stdout:      [exec] Installing @microsoft/rush...

2023-12-12 03:02:57,599 INFO d.h.c.h.PrintOutputHandler [Thread-25] stdout:      [exec] 

2023-12-12 03:02:57,599 INFO d.h.c.h.PrintOutputHandler [Thread-25] stdout:      [exec] 

2023-12-12 03:02:57,599 INFO d.h.c.h.PrintOutputHandler [Thread-25] stdout:      [exec] Error: Unable to install package: Error: "npm install" encountered an error

2023-12-12 03:02:57,599 INFO d.h.c.h.PrintOutputHandler [Thread-25] stdout:      [exec] 

2023-12-12 03:02:57,599 INFO d.h.c.h.PrintOutputHandler [Thread-25] stdout:      [exec] 

2023-12-12 03:02:57,608 INFO d.h.c.h.PrintOutputHandler [Thread-26] sterr: 

2023-12-12 03:02:57,608 INFO d.h.c.h.PrintOutputHandler [Thread-26] sterr: BUILD FAILED




Read more...

Environment

SAP Commerce Cloud

Product

SAP Commerce Cloud 2211

Keywords

Build failed, smartedit, npm, rush , KBA , 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.