metnfan2024
metnfan2024
CDCloudflare Developers
Created by metnfan2024 on 2/26/2024 in #pages-help
npm run pages\:deploy redirects to a consent page, and after that to a localhost:8976 that fails
I was working great this days, but from today I cannot deploy my app to cloudflare pages. npm run pages:dev works great, but when try to deploy it using npm run pages:deploy, is finish to build the assets and so, and then for some reason it opens a webpage to give consent to wrangler on cloudflare website. I click the allo button, takes some seconds, and then redirects to a localhost:8976 oauth callback that fails, because ther's no server runing in that port at that moment. 1. This is the first time I see the "Give consent to wrangler", why it is asking me know? 2. During the time that wrangler opens the web browser to ask for consent, the localhost:8976 seems to be runing, while I see that the 8976 port is open, but then when I click the allow button in the consent webpage, I suspect that the wrangler finish before the consent webpage redirects to localhost callback, so it cannot finish the process Any idea?
2 replies