can't deploy example

until now I've used the github integration, but I wanted to start a mono-repo and created a dummy project using pnpm create cloudflare. unfortunatelly wrangler login gets stuck on consent and when trying an API token it just says I don't have the correct permissions (very unuseful) wrangler login gets stuck on the consent page, maybe related to a this CORS error?
Access to manifest at 'https://consent.dash.cloudflare.com/manifest.json' from origin 'https://dash.cloudflare.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
consent.dash.cloudflare.com/manifest.json:1
Failed to load resource: net::ERR_FAILED
consent-form:1 Access to internal resource at 'https://consent.dash.cloudflare.com/manifest.json' from origin 'https://dash.cloudflare.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Access to manifest at 'https://consent.dash.cloudflare.com/manifest.json' from origin 'https://dash.cloudflare.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
consent.dash.cloudflare.com/manifest.json:1
Failed to load resource: net::ERR_FAILED
consent-form:1 Access to internal resource at 'https://consent.dash.cloudflare.com/manifest.json' from origin 'https://dash.cloudflare.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
until it times out while the [allow] button waits... then I tried using a an API Token with * Cloudflare Pages:Edit * Workers KV Storage:Edit * User Details:Read but I get slapped with an unhelpful Authentication error [code: 10000] Please ensure it has the correct permissions for this operation. what could I be missing?
1 Reply
Alejandro Mery
Alejandro MeryOP•7mo ago
I can't remember what document directed me to using the "cloudflare pages" permission, but "workers scripts" works. I still can't wrangler login though 😕 it just hangs... uhm, even pnpm create cloudflare --type hello-world hangs on wrangler dev (ubuntu devcontainer, ports mapped by vscode) @Ananya | Workers PM it's awesome until it doesn't work ---^ and zero pointers to troubleshoot
Want results from more Discord servers?
Add your server