SAP Knowledge Base Article - Preview

3377757 - Can't resolve asm fesm2020

Symptom

Following error occurs when starting Composable Storefront locally with SSR enabled:

./node_modules/@spartacus/asm/fesm2020/spartacus-asm-root.mjs:1:0-171 - Error: Module not found: Error: Can't resolve '/Users/xxxxxx/spa/commstore6.2_ssr/node_modules/@angular-devkit/build-angular/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js' in '/Users/xxxxxx/spa/commstore6.2_ssr/node_modules/@spartacus/asm/fesm2020'

……

Build at: 2023-08-04T14:10:02.565Z - Hash: 63a6c2d6a21cb899 - Time: 18166ms

this.debug is not a function

error Command failed with exit code 1.

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


Read more...

Environment

JS Storefront locally

Product

SAP Commerce Cloud, composable storefront all versions

Keywords

fesm2020,spartacus,composable storefront,js storefront , 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.