2026-08-19 — Fix Vercel production Convex deploy command
Summary
Production Vercel builds had been failing since mid-August: pnpm build:vercel aborted at convex deploy with “too many arguments for 'deploy'”, so new pushes never went live.
Highlights
-
site-nextjs/vercel-build.mjsno longer runsspawnSyncwithshell: true. -
That shell layer was splitting
--cmd pnpm buildso Convex CLI saw a stray positional argument. -
Without the shell,
--cmdreceives the fullpnpm buildstring and production deploy can complete. -
After that, Convex still rejected the push: bundled
sharpcannot load on the linux-arm64 Node action runtime.convex.jsonnow markssharpas an external package so Convex installs the matching native binary on the server.