bayes
bayes3mo ago

setting preview deployments blow up production

setting command npx convex deploy --cmd 'npm run build' in my vercel deployment blow up production because of this error
Temporary directory '/tmp' and project directory 'convex/_generated' are on different filesystems.
If you're running into errors with other tools watching the project directory, override the temporary directory location with the CONVEX_TMPDIR environment variable.
Be sure to pick a temporary directory that's on the same filesystem as your project.
Temporary directory '/tmp' and project directory 'convex/_generated' are on different filesystems.
If you're running into errors with other tools watching the project directory, override the temporary directory location with the CONVEX_TMPDIR environment variable.
Be sure to pick a temporary directory that's on the same filesystem as your project.
what can I do with that?
3 Replies
Convex Bot
Convex Bot3mo 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
erquhart3mo ago
Can you check for more info in the logs immediately after that error message
bayes
bayesOP3mo ago
@erquhart this is all the build logs shows in vercel

Did you find this page helpful?