Can't start a local deployment
Hey guys, thanks for building an amazing database!
I can't start the local deployment:
I was able to start the local deployment earlier (~1 month ago) when checking out Convex. Today I opened an old project, updated Convex, now can't start the local deployment.
I've already tried disabling local deployments & reenabling them again.
I've also tried
rm -r ~/.convex/convex-backend-state/
. After that, I ran npx convex dev --local --once
again, maybe a couple of times. Now there are two directories:
How to enable the logs to see the error?4 Replies
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!
Hey are you currently using Node v18? I ran into the same issues with no logs, and switching to that helped!
^^ that -- it's a regression (both hitting it if you're not using node actions, and the lack of error message) and already on its way to being fixed, but in the meantime setting your node version to v18 will probably unblock you
Thank you guys 🤝 Hope it gets fixed soon since v18 is being retired on Vercel in early 2025
Supported Node.js versions
Learn about the supported Node.js versions on Vercel.