SAP Knowledge Base Article - Preview

3737142 - Build of Composable Storefront fails with “cannot create property 'message' on string” and “unsupported change detection strategy” - SAP Commerce Cloud

Symptom

During build of composable storefront 221121.7.0 or later, the process fails with following error:

✘ [ERROR] Cannot create property 'message' on string '/opt/workspace/build/customer-project/js-storefront/<jsapp>/node_modules/@spartacus/storefront/fesm2022/spartacus-storefront.mjs: Unsupported change detection strategy

**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, composable storefront

Product

SAP Commerce Cloud, composable storefront all versions

Keywords

composable storefront, 221121.9.0, build failure, angular version mismatch, unsupported change detection strategy, cannot create property message on string, angular 21, angular 19 , 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.