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

Fix the upstream dependency conflict #9

Closed
carepollo opened this issue Mar 8, 2023 · 1 comment
Closed

Fix the upstream dependency conflict #9

carepollo opened this issue Mar 8, 2023 · 1 comment

Comments

@carepollo
Copy link

I am trying to install angular-three to an angular-cli generated app but I get this error when trying to install:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"^15.2.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^14.0.0" from @angular-three/[email protected]
npm ERR! node_modules/@angular-three/core
npm ERR!   @angular-three/core@"*" 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.

This is my env.

  • npm 9.6.0
  • node 18.14.2
  • Angular: 15.2.1
  • OS: Linux (arch based distro)
  • rxjs 7.8.0
  • typescript 4.9.5

Which version of angular-three and three should I install to prevent this error?

@nartc
Copy link
Member

nartc commented Mar 9, 2023

@angular-three/core is an old package. Use angular-three instead.

@nartc nartc closed this as completed Mar 9, 2023
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

2 participants