SAP Knowledge Base Article - Preview

3096334 - Prebuilt mode cannot be selected for Composable Storefront with SSR in the build process

Symptom

Composable Storefront chooses SSR, build with prebuilt mode fails in SAP Commerce Cloud. The following content can be found in in the build logs:

Building javascript application: spartacusstore

error Couldn't find a package.json file in "/opt/workspace/build/customer-project/js-storefront/spartacusstore"

      


Read more...

Environment

  • SAP Commerce Cloud
  • SAP Commerce Cloud, Composable Storefront

Product

SAP Commerce Cloud all versions ; SAP Commerce Cloud, composable storefront all versions

Keywords

Prebuilt mode, Spartacus, SSR, server.js, main.js, dist, Couldn't find a package.json file, ccv2, Hybris , KBA , CEC-SPA , SAP Commerce Cloud Spartacus , CEC-HCS-CCAZ-BUILD , Environment builds , 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.