AEM as Cloud | SPA Angular-11 | Community
Skip to main content
New Participant
March 20, 2024
Question

AEM as Cloud | SPA Angular-11

  • March 20, 2024
  • 1 reply
  • 600 views

Hi,

I created the AEM-project using latest archetype(47) with AEM-version as cloud .

Initially project created with Angular version-9 attributes, verified with build it is fine.

I created on AEM-SPA component using import { MapTo } from '@adobe/aem-angular-editable-components'; it is fine.

 

When I try to upgrade Angular from 9 to 11 and verified facing below problem while building project.

Error: src/app/components/import-components.ts:22:50 - error TS2307: Cannot find module '@adobe/aem-core-components-angular-base/authoring/title/v2' or its corresponding type declarations.

22 import {TitleV2Component, TitleV2IsEmptyFn} from '@adobe/aem-core-components-angular-base/authoring/title/v2';

                                                   

src/app/components/import-components.ts:23:60 - error TS2307: Cannot find module '@adobe/aem-core-components-angular-base/layout/breadcrumb/v2' or its corresponding type declarations.

 

23 import {BreadCrumbV2Component, BreadCrumbV2IsEmptyFn} from '@adobe/aem-core-components-angular-base/layout/breadcrumb/v2';                                                          

src/app/components/import-components.ts:24:60 - error TS2307: Cannot find module '@adobe/aem-core-components-angular-base/layout/navigation/v1' or its corresponding type declarations.

 

24 import {NavigationV1Component, NavigationV1IsEmptyFn} from '@adobe/aem-core-components-angular-base/layout/navigation/v1';

 

Queries:

AEM SPA with Angular version 11,13,15,17  will support with AEM as Cloud service?

 

Regards,

Shyam

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

EstebanBustamante
New Participant
March 20, 2024

Hi,

 

It looks like there is an open bug for this already, you can track the progress here: https://github.com/adobe/aem-angular-core-wcm-components-spa/issues/9


Esteban Bustamante