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.mjs no longer runs spawnSync with shell: true.

  • That shell layer was splitting --cmd pnpm build so Convex CLI saw a stray positional argument.

  • Without the shell, --cmd receives the full pnpm build string and production deploy can complete.

  • After that, Convex still rejected the push: bundled sharp cannot load on the linux-arm64 Node action runtime. convex.json now marks sharp as an external package so Convex installs the matching native binary on the server.