Question:
I having trouble with the installation of react-three/fiber and react-three/drei. Please tell me how to install a downgrade version of the two packages. I can’t change the version of my react and react-dom because some packages might be affected by the changes.Answer:
You can target a specific version in the package.json file, try something like this:package.json
node_modules
and reinstallAlternatively if you already uninstall/remove the packages, you can target specific versions by doing:
npm install @react-three/fiber@7.0.6
If you have better answer, please add a comment about this, thank you!