IronManiac
IronManiac•2y 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•2y ago
Which version of convex?
IronManiac
IronManiacOP•2y ago
"convex": "^1.0.2", really digging convex by the way. cheers :Cheers_Beer:
jamwt
jamwt•2y ago
Thanks! That's the issue. Update to latest.
IronManiac
IronManiacOP•2y 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•2y 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•2y 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•2y ago
No description
IronManiac
IronManiacOP•2y ago
looks like you're on it already!
IronManiac
IronManiacOP•2y ago
No description
No description
IronManiac
IronManiacOP•2y ago
on to the next issue says i havent set CLERK_JWT_ISSUER_DOMAIN when i have set it. @here bump
jamwt
jamwt•2y ago
set on the server? or in your .env.local ?
IronManiac
IronManiacOP•2y ago
set on vercel
jamwt
jamwt•2y ago
oh. you need to set it in your convex backend
jamwt
jamwt•2y ago
IronManiac
IronManiacOP•2y ago
oh yeah i forgot about that step thanks
jamwt
jamwt•2y ago
that's used at runtime in your convex deployment
IronManiac
IronManiacOP•2y ago
social
A social network built with Convex.
IronManiac
IronManiacOP•2y 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•2y ago
The fact that I just updated the template was actually pure coincidence 🙂
IronManiac
IronManiacOP•2y ago
that's hilarious.
Michal Srb
Michal Srb•2y 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•2y ago
would love to contribute/collaborate maybe just be another example that you can put a link to somewhere
Michal Srb
Michal Srb•2y ago
Definitely! At minimum we have a #show-and-tell channel to show case community projects
IronManiac
IronManiacOP•2y ago
cool 🙂

Did you find this page helpful?