dengor
dengor
CCConvex Community
Created by dengor on 3/26/2025 in #support-community
Can't start a local deployment
Hey guys, thanks for building an amazing database! I can't start the local deployment:
~/workspace/humanbase % npx convex dev --local --once
waiting for local backend to start...
✖ Local backend did not start on port 3210 within 10 seconds.
✖ Hit an error while running local deployment.
Your error has been reported to our team, and we'll be working on it.
To opt out, run `npx convex disable-local-deployments`. Then re-run your original command.
~/workspace/humanbase % npx convex dev --local --once
waiting for local backend to start...
✖ Local backend did not start on port 3210 within 10 seconds.
✖ Hit an error while running local deployment.
Your error has been reported to our team, and we'll be working on it.
To opt out, run `npx convex disable-local-deployments`. Then re-run your original command.
convex --version
1.21.0
convex --version
1.21.0
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:
~/workspace/humanbase % ls ~/.convex/convex-backend-state/
local-denis_gorbachev-humanbase-1 local-denis_gorbachev-humanbase_d7728
~/workspace/humanbase % ls ~/.convex/convex-backend-state/
local-denis_gorbachev-humanbase-1 local-denis_gorbachev-humanbase_d7728
How to enable the logs to see the error?
5 replies