Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

269
Vistas
'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 Respuestas
Responde la pregunta

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda