-
Notifications
You must be signed in to change notification settings - Fork 779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A couple of bugs I faced today (dev
, publish
)
#316
Comments
experienced the same issue while using
|
If the auth refresh token isn't valid, then we should trigger the login flow. Reported in #316
If the auth refresh token isn't valid, then we should trigger the login flow. Reported in #316
If the auth refresh token isn't valid, then we should trigger the login flow. Reported in #316
If the auth refresh token isn't valid, then we should trigger the login flow. Reported in #316
This should be in a better place now. We still need to handle error messages better and present them in a better manner, tracking that in #377. Closing this issue. @tanguyantoine let us know if you face the issue again, thank you! |
actually, I still have the same message
|
Oh really? Have you just not been able to login? Does it open the browser and ask you for permissions? Please share any information you may have. |
Sorry I switched back on something else, I might give it another shot later |
Today on my personal laptop, I used wrangler and faced some issues. If necessary I'll file separate issues for each of these problems, but just filing these right now while the details are still fresh -
index.ts
with contentsnpx wrangler@beta dev index.ts
on it. It returned -oauth_code
andrefresh_code
were invalid. In such a scenario, we should popup the login flow again. I manually rannpx wrangler@beta login
and 'fixed' this issue.npx wrangler publish index.js --name devto --latest
(and I didn't have a script nameddevto
already published). It did nothing for a long time (say, 20 seconds), and then this error got loggede.stack
instead ofe.message
). If we think these are noisy, then we should handle expected errors properly, and exit withprocess.exit(1)
instead of throwing.messages
exists on the response)dev
, using the hotkeyl
to toggle between edge - local - edge logged this errorThe text was updated successfully, but these errors were encountered: