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

284
Views
No se pueden ejecutar pruebas de mocha en las funciones de firebase, [ERR_PACKAGE_PATH_NOT_EXPORTED]: la subruta del paquete './lib/encoder' no está definida por "exportaciones"

Cuando intento ejecutar un script de prueba de Mocha en un directorio de funciones de Firebase, aparece este error:

 Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/encoder' is not defined by "exports" in /Users/[...redacted...]/functions/node_modules/firebase-functions/package.json

Estoy usando Node 12 y mis devDependencies son:

 { "chai": "^4.2.0", "firebase-functions": "^3.18.1", "firebase-functions-test": "^0.2.3", "mocha": "^8.4.0" }
about 4 years ago · Juan Pablo Isaza
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!