angular-threejs / angular-three

Angular Renderer for THREE.js
MIT License
184 stars 23 forks source link

Fix the upstream dependency conflict #9

Closed carepollo closed 1 year ago

carepollo commented 1 year ago

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: personalsite@0.0.0
npm ERR! Found: @angular/common@15.2.1
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/core@6.0.1
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.

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

nartc commented 1 year ago

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