Skip to content

Angular v14 #137

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

Closed
gaweCodes opened this issue Jun 7, 2022 · 6 comments
Closed

Angular v14 #137

gaweCodes opened this issue Jun 7, 2022 · 6 comments
Assignees

Comments

@gaweCodes
Copy link

I want to update my Angular application to Angular V14. However, @core-ui/angular's peer-dependency still requires Angular v13. When can I expect the corresponding update?

@xidedix
Copy link
Member

xidedix commented Jun 8, 2022

@gaweCodes testing at the moment - we're going to bump angular version later this week

@xidedix xidedix self-assigned this Jun 8, 2022
@gaweCodes
Copy link
Author

The latest update allowed me to update to Angular v14. If I serve thy app i get the following messages:

./node_modules/@coreui/angular/fesm2020/coreui-angular.mjs:5:0-84 - Error: Module not found: Error: Can't resolve '@angular/cdk/coercion' in 'path_to_node_modules\@coreui\angular\fesm2020'

./node_modules/@coreui/angular/fesm2020/coreui-angular.mjs:13:0-44 - Error: Module not found: Error: Can't resolve '@angular/cdk/layout' in 'path_to_node_modules\@coreui\angular\fesm2020'

./node_modules/@coreui/angular/fesm2020/coreui-angular.mjs:14:0-42 - Error: Module not found: Error: Can't resolve '@angular/cdk/a11y' in 'path_to_node_modules\@coreui\angular\fesm2020'

@xidedix Any ideas how to fix it?

@xidedix
Copy link
Member

xidedix commented Jun 13, 2022

@gaweCodes
do you have @angular/cdk v14 installed as a dependency of your app? see: package.json

@gaweCodes
Copy link
Author

Problem solved. You can close the issue.

@coyoteecd
Copy link
Contributor

@xidedix could you still publish a patch release (of v2 and v4) that has peer deps updated to include Angular v14?
I am getting an error when npm checks peer dep compatibility:

14:50:25  npm ERR! code ERESOLVE
14:50:25  npm ERR! ERESOLVE could not resolve
14:50:25  npm ERR! 
14:50:25  npm ERR! While resolving: @coreui/[email protected]
14:50:25  npm ERR! Found: @angular/[email protected]
....

@xidedix
Copy link
Member

xidedix commented Jul 1, 2022

@coyoteecd as a workaround you could try npm install @coreui/angular --force

  • v2 will be updated next week
  • v4 should work as is

xidedix added a commit that referenced this issue Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants