YungYoda
YungYoda2mo ago

Assertion failed

I get after closing a dev server making changes and then running bun run dev ```Opening https://dashboard.convex.dev/d/outstanding-herring-963 in the default browser... Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file c:\ws\deps\uv\src\win\async.c, line 76 error: script "predev" exited with code 9
Convex Dashboard
Manage your Convex apps
4 Replies
Convex Bot
Convex Bot2mo ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
erquhart
erquhart2mo ago
Would you mind sharing the dev script definition from your package.json
YungYoda
YungYodaOP2mo ago
yes "scripts": { "dev": "npm-run-all --parallel dev:frontend dev:backend", "dev:frontend": "next dev --turbopack", "dev:backend": "convex dev", "predev": "convex dev --until-success && convex dashboard", "build": "next build", "start": "next start", "lint": "next lint" }, this was all generated from the cli btw i chose next (app router), clerk, typescript, it happens if i close the dev terminal its running in or Ctrl/Cmd + C to kill the localhost process and then when i try to spin it back up it throws that error. im assuming its something with the websocket connection not closing properly. and its resolved by restarting my laptop. im using bun btw on windows
erquhart
erquhart2mo ago
Yeah this seems to be windows specific

Did you find this page helpful?