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

Site breaks when pogon.html uses cheerio 1.0.0-rc5 #17

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

Site breaks when pogon.html uses cheerio 1.0.0-rc5 #17

GWBasic opened this issue Jan 11, 2021 · 0 comments

Comments

@GWBasic
Copy link
Owner

GWBasic commented Jan 11, 2021

When pogon.html uses cheerio 1.0.0-rc5, requests fail with the following error:

TypeError: 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'm not sure if that's a cheerio bug or a problem with pogon.html. For now, forcing pogon.html to use an older version of cheerio.

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