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

270
Visualizações
'react-native' not importing correctly to page

As you can see in the photo, there are 3 dots under react-native. On other projects when I hover over it it says as follows:

module "/Users/mac/Library/Caches/typescript/4.5/node_modules/@types/react-native/index"

But when I hover over in this new project, it says as follows:

module "/Users/mac/Desktop/project/rn-zoom/node_modules/react-native/index"

I guess that's why when I type "Button", the automatic import option does not appear, or when I start typing props, the automatic import option does not appear. What causes this situation and how can I fix it?

enter image description here

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

0

Install Plugins:

React Native Tools & ES7 React/Redux/GraphQL/React-Native snippets

Now check that at your bottom right corner the selected language is React.

about 4 years ago · Juan Pablo Isaza Relatório

0

delete your node-module folder and run npm install it will work for you. and also run the command of clear cache.

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