SAP Knowledge Base Article - Preview

3633225 - Error: Script not found: /opt/app/storeName/dist/storeName/server/main.js during Composable storefront upgrade to 2211.19 and higher

Symptom

The deployment fails during upgrade of the Composable storefront to 2211.19 and SAP Commerce Cloud to 2211.36 and higher. The error message can be found in Kibana:

kubernetes.pod_name: jsapps-xxx-xxxx
log: PM2 error: Error: Script not found: /opt/app/storeName/dist/storeName/server/main.js

**Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.**


Read more...

Environment

  • SAP Commerce Cloud 2211.36 and higher
  • Composable storefront 2211.19

Product

SAP Commerce Cloud 2211

Keywords

deployment failure, spartacus upgrade, manifest.json, PM2 error, script not found, server.mjs, main.js , KBA , 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.