-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
cheerio.default is undefined in newest release #109
Comments
Might be related to breaking changes in cheerio: https://github.com/cheeriojs/cheerio/releases. But convert-svg-core specifies |
Indeed, the Is it because of the rc syntax... or does it need to be in |
Ah, apparently other packages depending on cheerio have suffered the same issue. The solution may indeed to be to force an override... cheeriojs/cheerio#3993 |
Adding this to my package.json seemed to fix the issue:
|
should this really be closed? Instead of hardcoding cheerio version resolution in projects, it should be hardcoded inside this lib. |
After a couple years of working just fine, we're now seeing this error when attempting svg-to-png conversions...
https://github.com/neocotic/convert-svg/blob/main/packages/convert-svg-core/src/Converter.js#L264
That line is...
Why would
cheerio.default
beundefined
suddenly?The text was updated successfully, but these errors were encountered: