Koala
Koala6d ago

ENOENT 'C:\C:\...' when starting local instance on windows.

Any help would be greatly appreciated with this! I'm trying to run convex locally after having it running in the cloud. running pnpm convex dev --configure --dev-deployment local and now after that, running pnpm convex dev gives the following error:
✖ Error: Unable to start push to http://127.0.0.1:3210
✖ Error fetching POST http://127.0.0.1:3210/api/deploy2/start_push 400 Bad Request: InvalidExternalModules: Hit an error while pushing:
Loading the pushed modules encountered the following error:
ENOENT: no such file or directory, mkdir 'C:\C:\Users\My%20User\.convex\convex-backend-state\local-kace_logistics-kace_logistics_qcs_portal-1\convex_local_storage\modules'
✖ Error: Unable to start push to http://127.0.0.1:3210
✖ Error fetching POST http://127.0.0.1:3210/api/deploy2/start_push 400 Bad Request: InvalidExternalModules: Hit an error while pushing:
Loading the pushed modules encountered the following error:
ENOENT: no such file or directory, mkdir 'C:\C:\Users\My%20User\.convex\convex-backend-state\local-kace_logistics-kace_logistics_qcs_portal-1\convex_local_storage\modules'
I've tried setting CONVEX_TMPDIR but that doesn't seem to do anything helpful. (i did confirm that it is reading that value, because i was able to get a different error by setting up a bad value for it) (its set to this currently: C:\Users\My User\.convex) pnpm: 10.19.0 convex: 1.28.2 node: v22.19.0 windows 11 Version: 24H2, build: 26100.6899
1 Reply
Convex Bot
Convex Bot6d 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!

Did you find this page helpful?