For Workes & Pages, what is the name of the domain?
web-data-cf-stage.lytcode.workers.dev
What is the error number?
10021
What is the error message?
Uncaught Error: No such module “node:buffer” imported from “index.js” [code: 10021]
What is the issue or error you’re encountering
Can’t run $ wrangler dev --remote -e stage --test-scheduled on a browser rendering worker. I get this - Error on remote worker: APIError: A request to the Cloudflare API (/accounts/redactedaccountnumber/workers/scripts/web-data-cf-stage/edge-preview) failed.
What steps have you taken to resolve the issue?
Upgraded wrangler from 3.72 to 3.78.8 but that didn’t resolve the issue.
What are the steps to reproduce the issue?
The error started to appear a couple of hours ago as I was actively developing and testing locally. Prior to that, I was able to run $ wrangler dev --remote -e stage --test-scheduled without any errors occurring on the remote worker. I don’t know what’s causing the issue, thus I can’t describe the steps to reproduce it.