Skip to content
Search

Vercel

lastmod 2026-04-17created 2022-08-2215 edits

React best practices repository Skills

npx add-skill vercel-labs/agent-skills

Troubleshooting

Yarn 2 build support

As of June 26, 2022, if the following occurs in the build step during deployment:

Error: Command "yarn install" exited with 1
BUILD_UTILS_SPAWN_1: Command "yarn install" exited with 1

If you are using yarn v2, downgrade to yarn v1.

To summarize the Does Vercel support Yarn 2? page:

The Vercel build pipeline supports Yarn 2 only for static builds. Serverless functions and SSR (server-side rendering) do not work with Yarn 2. The Vercel build pipeline fully supports Yarn 1 for all deployment types.

See also

  • Next.js
  • v0 - a generative UI system made by Vercel
  • Dokploy - open-source alternative to Vercel, Heroku, and Netlify
  • PaaS
  • /dev/push - an open-source, self-hosted deployment platform that can replace Vercel and Netlify
  • agent-browser
  • Emulate - run full local replicas of the GitHub, Vercel, and Google APIs
  • Open Agents - open-source reference app for building and running coding agents

Favorite site

Guide

author Zer0 sitemap