cheerio: release 0.21.0 - Error: Cannot find module 'cheerio'
Requiring the module gives the error in the subject.
It seems there is not index.js in node_modules/cheerio.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 8
- Comments: 26 (2 by maintainers)
Commits related to this issue
- downgrade cheerio Because there is an issue : https://github.com/cheeriojs/cheerio/issues/872 — committed to jsnomad/Google-Scraper by jsnomad 8 years ago
- Downgrade cheerio Because have issue: https://github.com/cheeriojs/cheerio/issues/872 — committed to madurmanov/gulp-boilerplate by madurmanov 8 years ago
- chore(package): rollback cheerio version (#192) The developer of Cheerio has unpublish the version 0.21.0. We should remove this version from our package.json file. More information: https://gith... — committed to adonisjs/core by RomainLanz 8 years ago
Rollback to 1.0.0-rc.10 and it works.
Have the same issue
I have an issue with:
dependabot/npm_and_yarn/main/cheerio-1.0.0-rc.11in my Github Workflow. It works on my local, but it fails with the error on Github Workflow run:These are the steps that I use:
sorry for the headache,
0.22.0is out now 🎉Sorry for this everybody. I still haven’t figured out why npm doesn’t include the
index.jsfile anymore in bundles, it is weird at least. I’ve unpublished0.21.0and will publish0.21.1as soon as I can get a complete package.@clementallen what do you mean with
The 0.21.0 release has been rolled back?When I do
npm show cheerioit shows 0.21.0 as the latest release.I think you should try to
npm unpublishit (though I don’t know if with recent changes to npm it’s possible anymore), ornpm publisha patch if possibleThanks
edit: http://blog.npmjs.org/post/141905368000/changes-to-npms-unpublish-policy
I also found this issue, I downgraded to 0.20 and it is ok there.