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

233
Vistas
Unable to resolve module 'hooks.js'

Hello,

I am currently trying to display a Leaflet map on a react-native application. I use the Expo Snack online editor for testing. I imported the "leaflet" and "react-leaflet" packages:

{
  "dependencies": {
    "leaflet": "1.8.0",
    "react-leaflet": "4.0.0",
    "expo-constants": "~13.1.1",
    "@expo/vector-icons": "^13.0.0",
    "react-native-paper": "4.9.2"
  }
}

but when importing "react-leaflet" in the App.js file, I have the following error:

react_leaflet error (Unable to resolve module 'hooks.js')

Can you help me, thanks.

about 4 years ago · Juan Pablo Isaza
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