Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

462
Views
How to install a react-three/fiber and react-three/drei version compatible with "react": "^17.0.2"?

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.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can target a specific version in the package.json file, try something like this:

package.json

"dependencies": {
...
  "@react-three/fiber": "7.0.6"
  "@react-trhee/drei": "7.5.1"
...
}

After the changes you will have to delete the node_modules and reinstall

Alternatively if you already uninstall/remove the packages, you can target specific versions by doing:

npm install [package]@[version]

or

yarn add [package]@[version]

For eaxmple npm install @react-three/fiber@7.0.6

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!