IronManiac
IronManiac•14mo ago

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'?
No description
24 Replies
jamwt
jamwt•14mo ago
Which version of convex?
IronManiac
IronManiacOP•14mo ago
"convex": "^1.0.2", really digging convex by the way. cheers :Cheers_Beer:
jamwt
jamwt•14mo ago
Thanks! That's the issue. Update to latest.
IronManiac
IronManiacOP•14mo ago
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
Michal Srb
Michal Srb•14mo ago
We need to get at least all our templates updated. So much work, so little time 😇 (curious which template you used if you remember)
IronManiac
IronManiacOP•14mo ago
i forked this one https://github.com/get-convex/convex-nextjs-app-router-demo and the package was updated 4 hours ago hahahah
IronManiac
IronManiacOP•14mo ago
No description
IronManiac
IronManiacOP•14mo ago
looks like you're on it already!
IronManiac
IronManiacOP•14mo ago
No description
No description
IronManiac
IronManiacOP•14mo ago
on to the next issue says i havent set CLERK_JWT_ISSUER_DOMAIN when i have set it. @here bump
jamwt
jamwt•14mo ago
set on the server? or in your .env.local ?
IronManiac
IronManiacOP•14mo ago
set on vercel
jamwt
jamwt•14mo ago
oh. you need to set it in your convex backend
jamwt
jamwt•14mo ago
IronManiac
IronManiacOP•14mo ago
oh yeah i forgot about that step thanks
jamwt
jamwt•14mo ago
that's used at runtime in your convex deployment
IronManiac
IronManiacOP•14mo ago
social
A social network built with Convex.
IronManiac
IronManiacOP•14mo ago
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
Michal Srb
Michal Srb•14mo ago
The fact that I just updated the template was actually pure coincidence 🙂
IronManiac
IronManiacOP•14mo ago
that's hilarious.
Michal Srb
Michal Srb•14mo ago
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!
IronManiac
IronManiacOP•14mo ago
would love to contribute/collaborate maybe just be another example that you can put a link to somewhere
Michal Srb
Michal Srb•14mo ago
Definitely! At minimum we have a #show-and-tell channel to show case community projects
IronManiac
IronManiacOP•14mo ago
cool 🙂

Did you find this page helpful?