How to run cheerio crawler with Bun?

Hi, I'm trying to run a Cheerio Crawler with Bun, But I'm getting errored out as soon as I'm trying to import something. Here's the import message. I'm not sure what's happening. Any idea? IT's a fresh crawlee crawler with typescript.
No description
No description
3 Replies
Pepa J
Pepa J2y ago
Hi @ThalfPant Based on the error it seeems to be some recent bug in Bun https://github.com/oven-sh/bun/issues/5640
GitHub
Net.socket is missing prototype definition · Issue #5640 · oven-sh/...
What version of Bun is running? 1.0.0 What platform is your computer? Darwin 21.4.0 x86_64 i386 What steps can reproduce the bug? I tried to run my existing tests, that use the mockttp package. Thi...
other-emerald
other-emerald2y ago
Has anyone been able to get it running with bun?
sensitive-blue
sensitive-blue2y ago
GitHub
Add support for Bun runtime - Issue with browser-pool and `memory...
Which package is the feature request for? If unsure which one to select, leave blank None Feature Hi, I'm cross-posting the notes from apify/proxy-chain#521 (below), where I tried to run an Api...

Did you find this page helpful?