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

Does not work with angular 18.0.5 #4

Open
beig opened this issue Jul 2, 2024 · 0 comments
Open

Does not work with angular 18.0.5 #4

beig opened this issue Jul 2, 2024 · 0 comments

Comments

@beig
Copy link

beig commented Jul 2, 2024

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior

Cant install into project

npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"^18.0.5" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^17.0.0" from @ngxpert/[email protected]
npm ERR! node_modules/@ngxpert/avvvatars
npm ERR!   @ngxpert/avvvatars@"*" from the root project

Expected behavior

Support Angular 18 (and upcoming 18.1)

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

I forked the project and tried to update

in projects/ngxpert/avvvatars/package.json

    "@angular/common": ">=17.0.0 <=18.0.5",
    "@angular/core": ">=17.0.0 <=18.0.5"

and then in package.json angular, eslint, typescript to the latest version but I get

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @ngxpert/[email protected]
npm ERR! Found: @angular-devkit/[email protected]
npm ERR! node_modules/@angular-devkit/build-angular
npm ERR!   dev @angular-devkit/build-angular@"^18.0.6" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! dev @angular-devkit/build-angular@"^18.0.6" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/typescript
npm ERR!   peer typescript@">=5.4 <5.5" from @angular-devkit/[email protected]
npm ERR!   node_modules/@angular-devkit/build-angular
npm ERR!     dev @angular-devkit/build-angular@"^18.0.6" from the root project

Environment


Angular version: 18.0.5


For Tooling issues:
- Node version: v22.3.0  
- Platform:  Windows

Others:

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

1 participant