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

112
Views
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 answers
Answer question

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 Report
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!