SAP Knowledge Base Article - Preview

3689879 - Composable Storefront Build failing due to Network related errors

Symptom

Build failing, with network issue errors when trying to download Composable Storefront libraries from RBSC:

2025-12-01 12:17:30,758 INFO d.h.c.h.PrintOutputHandler [Thread-30] stdout: yarn install v1.22.19
2025-12-01 12:17:30,828 INFO d.h.c.h.PrintOutputHandler [Thread-30] stdout: [1/4] Resolving packages...
2025-12-01 12:17:31,104 INFO d.h.c.h.PrintOutputHandler [Thread-30] stdout: [2/4] Fetching packages...
2025-12-01 12:17:31,170 INFO d.h.c.h.PrintOutputHandler [Thread-31] sterr: (node:2458) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2025-12-01 12:17:31,170 INFO d.h.c.h.PrintOutputHandler [Thread-31] sterr: (Use `node --trace-deprecation ...` to show where the warning was created)
2025-12-01 12:17:31,699 INFO d.h.c.h.PrintOutputHandler [Thread-30] stdout: info There appears to be trouble with your network connection. Retrying...
2025-12-01 12:17:35,207 INFO d.h.c.h.PrintOutputHandler [Thread-30] stdout: info There appears to be trouble with your network connection. Retrying...
2025-12-01 12:17:38,715 INFO d.h.c.h.PrintOutputHandler [Thread-30] stdout: info There appears to be trouble with your network connection. Retrying...
2025-12-01 12:17:42,222 INFO d.h.c.h.PrintOutputHandler [Thread-30] stdout: info There appears to be trouble with your network connection. Retrying...
2025-12-01 12:17:45,737 INFO d.h.c.h.PrintOutputHandler [Thread-31] sterr: error An unexpected error occurred: "https://73554900100900004337.npmsrv.base.repositories.cloud.sap/nexus3/repository/npm73554900100900004337/@spartacus/cart/-/cart-2211.37.0.tgz: ".
2025-12-01 12:17:45,737 INFO d.h.c.h.PrintOutputHandler [Thread-30] stdout: info If you think this is a bug, please open a bug report with the information provided in "/opt/workspace/build/customer-project/js-storefront/storefront-spa/yarn-error.log".
2025-12-01 12:17:45,737 INFO d.h.c.h.PrintOutputHandler [Thread-30] stdout: info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
2025-12-01 12:17:45,757 ERROR d.h.c.e.Executor [main] [FAILED] - Command yarn failed on retry 3 of 5, waiting 5 seconds before next attempt
de.hybris.ccv2.BuilderException: Executing of external command failed with exit code: 1
    at de.hybris.ccv2.executor.Executor.executeOperationOnce(Executor.java:78)
    at de.hybris.ccv2.executor.Executor.execute(Executor.java:102)
    at de.hybris.ccv2.executor.YarnExecutor.execute(YarnExecutor.java:58)
    at de.hybris.ccv2.jsapps.JsAppBuilder.buildApplication(JsAppBuilder.java:86)
    at de.hybris.ccv2.jsapps.task.BuildJsAppsTask.process(BuildJsAppsTask.java:107)
    at de.hybris.ccv2.Builder.runTask(Builder.java:294)
    at de.hybris.ccv2.Builder.lambda$runTasks$3(Builder.java:260)
    at java.base/java.lang.Iterable.forEach(Iterable.java:75)
    at de.hybris.ccv2.Builder.runTasks(Builder.java:256)
    at de.hybris.ccv2.Builder.runTasksAndHandleException(Builder.java:234)
    at de.hybris.ccv2.Builder.run(Builder.java:113)
    at de.hybris.ccv2.Builder.main(Builder.java:62)


Read more...

Environment

SAP Commerce Cloud, Composable Storefront

Product

SAP Commerce Cloud 2211

Keywords

spartacus, yarn, npm, dependencies, repository , KBA , CEC-SCC-CLA-BUI , Build Process , CEC-SPA , SAP Commerce Cloud Spartacus , 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.