Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

463
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda