Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest Angular Version Supported with AEM SPA #11

Open
sameer1991 opened this issue Dec 12, 2023 · 0 comments
Open

Latest Angular Version Supported with AEM SPA #11

sameer1991 opened this issue Dec 12, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@sameer1991
Copy link

One of My Customers using AEM Cloud Service and setup the AEM Project with ui.frontend module with “angular”.
By Default, ui.frontend module comes with Angular Version 9.
However the Customer is looking to use Angular Version 16 and hence they have followed the Angular Upgrade Guide[1]
[1]- https://update.angular.io/?v=9.0-10.0
The Team is able to upgrade the version to 12 successfully but while doing the upgrade to 13 they are getting below Errors while building the AEM Project.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @adobe/[email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR! peer @angular/common@"13.4.0" from @angular/[email protected]
npm ERR! node_modules/@angular/forms
npm ERR! @angular/forms@"~13.4.0" from the root project
npm ERR! peer @angular/common@"13.4.0" from @angular/[email protected]
npm ERR! node_modules/@angular/platform-browser
npm ERR! peer @angular/platform-browser@"13.4.0" from @angular/[email protected]
npm ERR! node_modules/@angular/forms
npm ERR! @angular/forms@"~13.4.0" from the root project
npm ERR! peer @angular/platform-browser@"13.4.0" from @angular/[email protected]
npm ERR! node_modules/@angular/platform-browser-dynamic
npm ERR! @angular/platform-browser-dynamic@"~13.4.0" from the root project
npm ERR! 2 more (@angular/router, the root project)
npm ERR! 3 more (@angular/platform-browser-dynamic, @angular/router, the root project)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^9.1.9" from @adobe/[email protected]
npm ERR! node_modules/@adobe/aem-angular-editable-components
npm ERR! peer @adobe/aem-angular-editable-components@"^1.0.3" from @adobe/[email protected]
npm ERR! node_modules/@adobe/aem-core-components-angular-spa
npm ERR! @adobe/aem-core-components-angular-spa@"^1.0.8" from the root project
npm ERR! @adobe/aem-angular-editable-components@"^1.2.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR! peer @angular/common@"^9.1.9" from @adobe/[email protected]
npm ERR! node_modules/@adobe/aem-angular-editable-components
npm ERR! peer @adobe/aem-angular-editable-components@"^1.0.3" from @adobe/[email protected]
npm ERR! node_modules/@adobe/aem-core-components-angular-spa
npm ERR! @adobe/aem-core-components-angular-spa@"^1.0.8" from the root project
npm ERR! @adobe/aem-angular-editable-components@"^1.2.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Just wanted to confirm if the latest AEM Archetype is compatible with which Angular version.
Is it expected to work with Angular Version 16?
Also, I can see there is an open issue on GitHub where the customer is trying to upgrade the angular version to 13.
adobe/aem-angular-editable-components#65

@sameer1991 sameer1991 added the bug Something isn't working label Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant