puppetteer-core does not work with websockets: "ws does not work in the browser"

So, it looks like somehow, wrangler is picking up the browser implementation of the ws package (https://github.com/websockets/ws/blob/master/package.json). I tried using different WRANGLER_BUILD_CONDITIONS and WRANGLER_BUILD_PLATFORM to fix the issue, but haven't managed to fix it. I'm a bit stuck
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?