question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

release 0.21.0 - Error: Cannot find module 'cheerio'

See original GitHub issue

Requiring the module gives the error in the subject.

It seems there is not index.js in node_modules/cheerio.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:8
  • Comments:26 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
FeelyChaucommented, Jun 1, 2022

I have an issue with: dependabot/npm_and_yarn/main/cheerio-1.0.0-rc.11 in my Github Workflow. It works on my local, but it fails with the error on Github Workflow run:

Cannot find module ‘cheerio/lib/utils’ from ‘node_modules/enzyme/build/Utils.js’

These are the steps that I use:

    steps:
      - uses: actions/checkout@v3
      - run: npm ci
      - run: npm run lint
      - run: npm test

Rollback to 1.0.0-rc.10 and it works.

6reactions
aivuscommented, Jun 12, 2016

Have the same issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot find Cheerio error coming from node_modules
I get this error when attempting to run my Node application: C:/Me/MyApp/node_modules/@types/enzyme/index.d.ts (351,15): Cannot find name ...
Read more >
Cheerio - npm
Tiny, fast, and elegant implementation of core jQuery designed specifically for the server. Latest version: 1.0.0-rc.12, last published: 6 ...
Read more >
Dependencies | apiconnect | npm - Open Source Insights
arrow_right apiconnect‑cli‑apis. 2.6.1 Notes Relation Licenses Dependencies 295 Version 2.6.1 Published Description arrow_right apiconnect‑cli‑apps. 2.8.2 Notes Relation Licenses Dependencies 316 Version 2.8.2 Published Description
Read more >
node packages | Corvid by Wix
This package name was not found in the npm registry. 11/14/2022 ... cheerio-jsdom ... 0.21.0. available. 03/02/2022. dark-mode-switcheroo. 0.10.0. available.
Read more >
can't resolve 'react-dom/client' - You.com | The AI Search ...
Issue is react-dom is not installed, when you hit npm -v react-dom , it gives you the version of npm not react-dom version,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found