Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find name Cheerio / CheerioSelector / CheerioStatic #157

Closed
clapointe opened this issue Oct 26, 2020 · 1 comment · Fixed by #170
Closed

Cannot find name Cheerio / CheerioSelector / CheerioStatic #157

clapointe opened this issue Oct 26, 2020 · 1 comment · Fixed by #170

Comments

@clapointe
Copy link

I have scrape-it as a dependency of another package in my project (nest-crawler). I encountered these 3 errors in my project when trying to start nestjs:
Cannot find name Cheerio / CheerioSelector / CheerioStatic

I searched around for a while before finding how to fix it for my project: adding "@types/cheerio": "0.22.13" in the devDependencies (note: not "^0.22.13")

Since that's just a quick fix, I figured I'd open an issue in case anyone else is having this problem.

@chauchakching
Copy link

@clapointe
In case you're still having issue, give scrape-brrr a try!
It's a similar scraper created to solve my own niche, and you may find it useful

libinvarghese added a commit to libinvarghese/scrape-it that referenced this issue Jun 9, 2021
The updated @types/cheerio does not support Cheerio / CheerioSelector / CheerioStatic. This change
is after 0.22.13

Fixes IonicaBizau#157
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants