Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

710
Views
Error de instalación de Firebase, ¿tal vez debido a que no hay índice de fuego en firebase?

Estoy tratando de instalar firebase usando npm en mi aplicación nativa de reacción. Sin embargo, después de correr

 npm install --save firebase

e iniciar la aplicación, aquí está el mensaje de error:

Metro encontró un error: al intentar resolver el módulo firebase desde el archivo /Users/jingyizhang/Documents/GitHub/my-first-project/lib/firebase.js , el paquete /Users/jingyizhang/Documents/GitHub/my-first-project/node_modules/firebase/package.json se encontró correctamente. Sin embargo, este paquete especifica un campo de módulo main que no se pudo resolver ( /Users/jingyizhang/Documents/GitHub/my-first-project/node_modules/firebase/index . De hecho, ninguno de estos archivos existe:

*/Usuarios/jingyizhang/Documentos/GitHub/mi-primer-proyecto/node_modules/firebase/index(.native|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx |.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json)

*/Usuarios/jingyizhang/Documentos/GitHub/mi-primer-proyecto/node_modules/firebase/index/index(.native|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx| .tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json): /Usuarios/jingyizhang/Documentos/ GitHub/mi-primer-proyecto/node_modules/metro/src/node-haste/DependencyGraph.js (243:17)

241 | 242 | if (instancia de error de un error de paquete no válido) {

243 | throw new PackageResolutionError({ | ^ 244 | packageError: error, 245 | originModulePath: from, 246 | targetModuleName: to,

ABI45_0_0RCTFatal __37-[ABI45_0_0RCTCxxBridge handleError:]_block_invoke _dispatch_call_block_and_release _dispatch_client_callout _dispatch_main_queue_drain _dispatch_main_queue_callback_4CF CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE __CFRunLoopRun CFRunLoopRunSpecific GSEventRunModal -[UIApplication _run] UIApplicationMain main start_sim 0x0

Me pregunto dónde está el problema. ¡Gracias por adelantado!

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!