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

262
Visualizações
react-dom installed, but not found. `Could not find module in path: 'react-dom/client' relative to`

Here is the Codesandbox

I want to run a rest, but the Tests tab shows this error.

Could not find module in path: 'react-dom/client' relative to
'/node_modules/@testing-library/react/dist/@testing-library/react.esm.js'

I referred to these but they did NOT solve my problem.

  1. Reinstalling it in the devDependencies https://github.com/codesandbox/codesandbox-client/issues/2276
  2. Turning off my UBlock origin. https://github.com/enzymejs/enzyme/issues/529
  3. Trying different browsers

What should I do to successfully run this test?

enter image description here

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

This is a known issue. The answer says you need to use a Terminal to run this. Terminal is just below the preview window.

https://github.com/codesandbox/codesandbox-client/issues/6599

Hey @eps1lon - Thank you for flagging this, the tests unfortunately don't work within Server sandboxes and we'll be removing them soon. To run the tests you'll need to use the terminal. Sorry for the trouble!

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