Browser Rendering Env Binding in local dev is not set?
In my local wranger dev I can see logs saying it will bind browser but when I print out env from fetch or queue param its undefined. I assume it's why I am seeing this error trying to launch puppeteer.
✘ [ERROR] TypeError: Cannot read properties of undefined (reading 'fetch') at PuppeteerWorkers.launch
1 Reply
Oh its not supported in local
Local mode support does not exist for Browser Rendering so --remote is required.https://developers.cloudflare.com/browser-rendering/platform/wrangler/ But doing --remote breaks queues
▲ [WARNING] Queues are not yet supported in wrangler dev remote mode.So I can't use queues and browser together 😦
Cloudflare Docs
Wrangler | Browser Rendering docs
Wrangler is a command-line tool for building with Cloudflare developer products.