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

Suspected incompatibility with cheerio 1.0.0-rc5 #3

Open
GWBasic opened this issue Jan 11, 2021 · 0 comments
Open

Suspected incompatibility with cheerio 1.0.0-rc5 #3

GWBasic opened this issue Jan 11, 2021 · 0 comments

Comments

@GWBasic
Copy link
Owner

GWBasic commented Jan 11, 2021

(See GWBasic/z3#17)

When I use pogon.html 1.0.2, my site breaks with the following error:

Cannot read property '_options' of undefined at exports.html (/Users/andrewrondeau/git/z3/node_modules/cheerio/lib/static.js:133:10) at initialize.exports.html (/Users/andrewrondeau/git/z3/node_modules/cheerio/lib/api/manipulation.js:697:12) at merge (/Users/andrewrondeau/git/z3/node_modules/pogon.html/pogon.html.js:217:40) at Object.exports.render (/Users/andrewrondeau/git/z3/node_modules/pogon.html/pogon.html.js:89:8) at async View.exports.renderFile [as engine] (/Users/andrewrondeau/git/z3/node_modules/pogon.html/pogon.html.js:185:20)

I currently suspect this is a problem in pogon.html. For now I'm going to work around by forcing an older version of cheerio.

GWBasic pushed a commit that referenced this issue Jan 11, 2021
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

No branches or pull requests

1 participant