Local Deployment Fails on Windows Due to Malformed Path
Hi Convex team,
I'm having trouble running a local deployment on Windows. When I run:
I get the following error:
As you can see, the path is malformed (
C:\C:\...). Here’s what I’ve tried so far:
- Running as administrator.
- Deleting the .convex directory in my user folder to reset local state.
- Ensuring there are no malformed paths or double drive letters in my .env.local.
- Checking for any custom CONVEX_TMPDIR or related environment variables.
- Attempting to set CONVEX_TMPDIR to a directory on the same drive as my project, using PowerShell:
Despite these steps, the error persists and the deployment crashes. I’ve also reviewed the Discord discussions about similar issues, and it seems there may be a bug in the Convex CLI’s handling of paths or the CONVEX_TMPDIR variable on Windows.
Is there anything else I can try, or is this a known issue with the CLI on Windows? Any help would be appreciated!1 Reply
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!