three.interaction.js
three.interaction.js copied to clipboard
NPM install fails
Installing with NPM now gives this error: Any thoughts ?
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/three
npm ERR! three@"^0.117.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer three@"^0.89.0" from [email protected]
npm ERR! node_modules/three.interaction
npm ERR! three.interaction@"" 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 lib is great!
Confirmed Fix: remove the Peer Dependency block = three:0.89.0 from package.json.
Posts on Three.js forum ( discourse.threejs.org ) recommend to discontinue using three.interaction, but it's a great lib!
Do you want pull request to update version number in Peer Dependency block in package.json?
https://discourse.threejs.org/t/three-interaction-replacement/20629
npm install -S three.interaction --force
Fixes it, but could have potential issues.
It didnt work for me. I am using ThreeJS v129
Still the same issue. I am using ThreeJS v0.133.1
Still using fork of this great lib. But, beyond v0.130 it seems the lib has other issues beyond just the peer dependency block.