Symptom
When building Composable Storefront the build fails and in the logs you could see:
INFO d.h.c.e.NpmrcGenerator [main] Generating npmrc file in /opt/workspace/build/customer-project/js-storefront/spartacusstore/.npmrc to enable repositories [spartacus-dev]
...
INFO d.h.c.e.NpmrcGenerator [main] Repository spartacus-dev in known, url: https://73554900100900004337.dev.npmsrv.base.repositories.cloud.sap
...
INFO d.h.c.h.PrintOutputHandler [Thread-29] sterr: error Couldn't find any versions for "@spartacus/asm" that matches "~221121.1.0"
...
ERROR d.h.c.e.Executor [main] [FAILED] - Command yarn failed on retry 1 of 5, waiting 5 seconds before next attempt
de.hybris.ccv2.BuilderException: Executing of external command failed with exit code: 1
The same can happen with other versions, e.g.
INFO d.h.c.h.PrintOutputHandler [Thread-29] sterr: error Couldn't find any versions for "@spartacus/asm" that matches "~221121.2.0"
Read more...
Environment
SAP Commerce Cloud
Product
SAP Commerce Cloud, composable storefront all versions
Keywords
Composable Storefront build, @spartacus/asm, failed build, Couldn't find any versions , KBA , CEC-SPA , SAP Commerce Cloud Spartacus , 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.
SAP Knowledge Base Article - Preview