vercel-common-errors

Solid

Diagnose and fix common Vercel deployment and function errors. Use when encountering Vercel errors, debugging failed deployments, or troubleshooting serverless function issues. Trigger with phrases like "vercel error", "fix vercel", "vercel not working", "debug vercel", "vercel 500", "vercel build failed".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Vercel Common Errors ## Overview Diagnose and resolve the most common Vercel errors across three layers: build pipeline, serverless function runtime, and edge network. Each error includes the error code, root cause, and step-by-step fix. ## Prerequisites - Vercel CLI installed - Access to deployment logs (`vercel logs <url>`) - Access to Vercel dashboard for build logs ## Instructions ### Step 1: Identify the Error Layer ```bash # Check deployment status and error details vercel inspect <deployment-url> # View function runtime logs vercel logs <deployment-url> --follow # View build logs via API curl -s -H "Authorization: Bearer $VERCEL_TOKEN" \ "https://api.vercel.com/v13/deployments/dpl_xxx" | jq '.state, .errorMessage' ``` **Three error layers:** 1. **Build errors** — appear during `vercel deploy`, exit codes in build log 2. **Runtime errors** — appear when functions are invoked, visible in function logs 3. **Edge/routing errors** — HTTP errors from Vercel's edge network ### Step 2: Build Errors **`BUILD_FAILED` — Build command exited with non-zero code** ``` Error: Command "npm run build" exited with 1 ``` - Check: `vercel.json` → `buildCommand` matches your build script - Check: all dependencies listed in `package.json` (not just devDependencies for runtime deps) - Fix: run `npm run build` locally to reproduce **`MISSING_BUILD_SCRIPT` — No build command found** ``` Error: Missing Build Command ``` - Fix: add `"build"` to `package.json` scripts or set `buildC...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

vercel-known-pitfalls

Identify and avoid Vercel anti-patterns and common integration mistakes. Use when reviewing Vercel code for issues, onboarding new developers, or auditing existing Vercel deployments for best practice violations. Trigger with phrases like "vercel mistakes", "vercel anti-patterns", "vercel pitfalls", "vercel what not to do", "vercel code review".

2,266 Updated today
jeremylongshore
AI & Automation Solid

vercel-debug-bundle

Collect Vercel debug evidence for support tickets and troubleshooting. Use when encountering persistent issues, preparing support tickets, or collecting diagnostic information for Vercel problems. Trigger with phrases like "vercel debug", "vercel support bundle", "collect vercel logs", "vercel diagnostic".

2,266 Updated today
jeremylongshore
AI & Automation Solid

vercel-advanced-troubleshooting

Advanced debugging for hard-to-diagnose Vercel issues including cold starts, edge errors, and function tracing. Use when standard troubleshooting fails, investigating intermittent failures, or preparing evidence for Vercel support escalation. Trigger with phrases like "vercel hard bug", "vercel mystery error", "vercel intermittent failure", "difficult vercel issue", "vercel deep debug".

2,266 Updated today
jeremylongshore
AI & Automation Listed

vercel

Deploy and configure applications on Vercel. Use when deploying Next.js apps, configuring serverless functions, setting up edge functions, or managing Vercel projects. Triggers on Vercel, deploy, serverless, edge function, Next.js deployment.

2 Updated today
Makiya1202
AI & Automation Solid

vercel-cli

Deploy apps to Vercel. Use when asked to deploy, ship, or publish a web application, or manage Vercel projects, domains, and environment variables.

29,545 Updated yesterday
nanocoai