Closed carepollo closed 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?
@angular-three/core is an old package. Use angular-three instead.
@angular-three/core
angular-three
I am trying to install angular-three to an angular-cli generated app but I get this error when trying to install:
This is my env.
Which version of angular-three and three should I install to prevent this error?