Deploying Nuxt to Cloudflare Worker not woking
Hello,
I'm trying to deploy Nuxt to Cloudflare Workers, but can't get it to work.
My build command is
pnpm run build --preset=cloudflare_module
My deploy command is npx wrangler pages deploy dist/ --project-name=interfaceqc
Which seems right according to the https://nuxt.com and https://nitro.build documentation.
But I keep getting this error:
Authentication error [code: 10000] It looks like you are authenticating Wrangler via a custom API token set in an environment variable. Please ensure it has the correct permissions for this operation. Getting User settings... š You are logged in with an User API Token, associated with the email mrsebastienleblanc@icloud.com. ā¹ļø The API Token is read from the CLOUDFLARE_API_TOKEN environment variable. š To see token permissions visit https://dash.cloudflare.com/profile/api-tokens. š¢ Membership roles in "Admin@mydomain.com's Account": Contact account super admin to change your permissions. - Super Administrator - All Privileges šŖµ Logs were written to "/opt/buildhome/.config/.wrangler/logs/wrangler-2025-11-19_02-43-50_327.log" Failed: error occurred while running deploy commandI've tried the auto-generated token, and also a custom token with what I believe to have litteraly all permission

1 Reply
What do you mean, still ?
I did not find the issue or a fix, and it hasn't fied itself (i know Cloudflare had issue this morning).
Why ? We let's speak here
We can do this here
No thanks scammer