I try to set up R2 (High performance storage for files and objects with no egress charges.) to test before deploying it to my site.
I have a problem for Wrangler CLI Guide with the command “wrangler login”.
I install wrangler on my server #npm install -g wrangler
Authenticate Wrangler with your Cloudflare account #wrangler login
I copy / paste the link in my web broswer and I press the “agree” button but I am redirected to a link starting with “localhost:8976/oauth/callback?code” so necessarily a redirection on “localhost” doesn’t work…
I don’t understand, if someone can help me, thanks!
I already tried too
#CLOUDFLARE_API_TOKEN=*************** wrangler publish
but i have an error
“Error MIssing entry-point: the entry-point should be specified via the command line (e.g ‘wrangler publish path/to/script’) or the ‘main’ config field”