Sara
Sara2d ago

using Preview deployments with cloudflare, requested to create a name for preview

SO, I am setting up cloudflare preview deploymnets for the first time with cloudflare and wondering how to bypass the create name error on build stating the following:
16:10:14.601 Progress: resolved 28, reused 3, downloaded 1, added 4, done
16:10:15.664 ✖ `npx convex deploy` to a preview deployment could not determine the preview name. Provide one using `--preview-create`
16:10:15.714 Failed: error occurred while running build command
16:10:14.601 Progress: resolved 28, reused 3, downloaded 1, added 4, done
16:10:15.664 ✖ `npx convex deploy` to a preview deployment could not determine the preview name. Provide one using `--preview-create`
16:10:15.714 Failed: error occurred while running build command
which is asking me to add a name for the preview, how can I get that name from the branch itself without overcomplicating this further? wondering if somebody stumbled across this and fixed it! Thank you
1 Reply
Convex Bot
Convex Bot2d 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?