No such module "node:buffer". imported from "worker.js"
Hello.
I'm trying to deploy basic-auth worker - https://developers.cloudflare.com/workers/examples/basic-auth/ but I'm getting following error: when I click "Save and deploy".
I have worker.js file (content as in docs) and wrangler.toml file with compatibility_flags (content below). Do you have any idea how can I fix this?
Cloudflare Docs
HTTP Basic Authentication · Cloudflare Workers docs
Documentation for Cloudflare Workers, a serverless execution environment that allows you to create entirely new applications or augment existing ones …
1 Reply
Sounds like you’re using Quick Edit in the dashboard?
Wrangler.toml doesn’t work there.