unknown option '--cmd' on older version of Convex
why is vercel complaining about
unknown option '--cmd'
when running npx convex deploy --cmd 'npm run build'
?
24 Replies
Which version of convex?
"convex": "^1.0.2",
really digging convex by the way. cheers :Cheers_Beer:Thanks! That's the issue. Update to latest.
huh weird. i just installed it like a couple days ago, i guess i didnt put the @latest on it when i did maybe
oh you know what i used someones template. thats why.
good call. thanks @jamwt
We need to get at least all our templates updated. So much work, so little time 😇 (curious which template you used if you remember)
i forked this one
https://github.com/get-convex/convex-nextjs-app-router-demo
and the package was updated 4 hours ago hahahah

looks like you're on it already!


on to the next issue
says i havent set
CLERK_JWT_ISSUER_DOMAIN
when i have set it.
@here bumpset on the server? or in your .env.local ?
set on vercel
oh. you need to set it in your convex backend
Convex Clerk | Convex Developer Hub
Clerk is an authentication platform providing login via
oh yeah i forgot about that step
thanks
that's used at runtime in your convex deployment
social
A social network built with Convex.
thanks for your help
WIP progress obviously.
mostly just the stuff that Michael did
i added shadcn and cleaned up the ui elements a bit
gonna add comments and likes next
image upload
excited to try out convex file storage next.
oh i added dark mode cuz can't live without it.
improved the sign in and out UX
clerk's modal mode is so much better than redirect.
first time using clerk, long time user of auth0
The fact that I just updated the template was actually pure coincidence 🙂
that's hilarious.
I was in fact planning to build a newer version along the lines of what you're planning, hehe. But in the end I might do something slightly different. Excited to see where you take it!
would love to contribute/collaborate
maybe just be another example that you can put a link to somewhere
Definitely! At minimum we have a #show-and-tell channel to show case community projects
cool 🙂