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

126
Vistas
I am get an export error when build test?

When running tests in React with Enzyme, I am getting the following error:

"Error: Package subpath './lib/utils' is not defined by "exports" in ...\node_modules\cheerio\package.json."

Cheerio is a dependency of Enzyme. The file in question does exist in the node_modules directory as expected. This error seems to have started when updating Node.js locally from 12.16.1 to 16.15.1.

I am running: React: 17.0.2 Enzyme: 13.11.0 Node.js: 16.15.1

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

https://github.com/cheeriojs/cheerio/releases new version of cheerio was released. Enzym uses cheerio as dependency. Use prev version cheerio@1.0.0-rc.10 until fix

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