multiple accounts + dev = Silent Crash in `dev` mode
See original GitHub issue🐛 Bug report
Describe the bug
When running dev
mode in wrangler, service will run for a second, prompt for an account, and then silently crash.
Reproduce the bug
A list of steps to reproduce the bug.
- Run
wrangler dev
with project that previously worked. - Wait a second while the
dev
instance boots up. - Select Account from list.
Expected behavior
After running wrangler dev
, wrangler
should prompt for your account BEFORE starting up, and then should not crash unexpectedly.
Environment and versions
Fill out the following information about your environment.
- operating system: macOS Monterey v12.4
- output of
wrangler -V
:2.0.9
- output of
node -v
:v18.2.0
- content of
wrangler.toml
:
name = "gitdiffbot"
compatibility_date = "2022-05-25"
main = "dist/index.js"
kv_namespaces = [
{binding = "KV", id = KVID, preview_id = KVID}
]
[triggers]
crons = ["0 */6 * * *"]
Issue Analytics
- State:
- Created a year ago
- Comments:13 (10 by maintainers)
Top Results From Across the Web
SQL Developer 18.2 Crash at startup - Oracle Communities
Hi All. I teach using SQL Developer. I have had several students who have a common issue with SQL Developer 18.2 on Win64...
Read more >6 reasons your Node.js apps are failing - IBM Developer
6 reasons your Node.js apps are failing · 1. Uncaught exceptions or error events in JavaScript code · 2. Excessive memory usage, which...
Read more >Solution(s) to the Dev mode problem. - Steam Community
Right click on DOOM in your game library. Select Properties. Go to the Local Files tab and then click Verify Integrity of Game...
Read more >Weird crash in background mode with Realm DB
I am using background mode for downloading data from the server and storing it in Realm. I am getting weird crash reports from...
Read more >Microsoft .NET Framework Repair Tool is available
NET Framework 4.8, 4.7.2, 4.7.1, 4.7, and 4.6.2. ... This option is applicable only in Quiet and Passive modes.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A workaround could be to enter
account_id = "your account id"
in wrangler.toml (or as an env var likeCLOUDFLARE_ACCOUNT_ID=youraccountid wrangler dev
)The fix is up for review…