The errors that trip up people building with Cursor, Lovable, Bolt, Replit and v0, each with what it means, why it happens, and how to fix it.
Your code tried to use something (like .map or .name) on a value that doesn't exist yet.
The browser blocked your request because the server you called didn't say your site is allowed to read its response.
The page Next.js rendered on the server looked different from what React rendered in the browser.
Your code imports a file or package that the build tool can't find.
Supabase's security rules (RLS) blocked your insert or update because no policy allows it.
Your app failed to build on Vercel. The real error is a few lines above this message in the build log.
Your app can't see an environment variable, usually because of its name, where it's defined, or when it was loaded.
OpenAI rejected the key your app sent: it's missing, wrong, revoked, or not being loaded.
A React hook (useState, useEffect…) is being called inside an if, a loop, or after an early return.
The Prisma client code hasn't been generated from your schema, so your app has nothing to import.
Prisma couldn't connect to your database: the URL, network, or connection mode is wrong.
Your code expected JSON from a request but got an HTML page back, usually an error or 404 page.
You tried to put a whole object straight into JSX. React can only render text, numbers, elements, or arrays of them.
When you render a list with .map(), React needs a stable, unique key on each item to track them.
Your component sets state while rendering, which causes another render, which sets state again, forever.
Code that only works in a browser (window, document, localStorage) ran on the server, where those don't exist.
In the Next.js App Router, components are server-only by default, and hooks like useState need the file to be marked "use client".
TypeScript doesn't know your object has that property, usually because its type was never declared or was guessed wrong.
The AI API refused your request because you hit a rate limit or ran out of paid credit.
Node.js is reading your file as old-style CommonJS, so it doesn't understand the modern `import` syntax.
Your server-side code tried to call an address where nothing was listening, very often localhost.
React found a hook (useState, useEffect, useRouter…) somewhere it can't run: outside a component, inside a normal function, or with two copies of React loaded.
Two of your packages want different versions of the same dependency (usually React or Next.js), so npm refuses to install.
Something is already running on that port, usually an old copy of your own dev server that never shut down.
Your webhook couldn't prove the event came from Stripe, usually because the body was parsed before verification or the webhook secret is wrong.
You used next/image with a picture from another website, and Next.js blocks outside image hosts until you allow them.
You called .map() on something that isn't an array, usually an API response object, undefined, or a value that hasn't loaded yet.
The browser couldn't complete the request at all: the server is down, the URL is wrong, CORS blocked it, or you're calling http from an https page.
The user's login token ran out and wasn't refreshed, so Supabase rejects the request until the session is renewed.
Next.js tried to pre-build a page at build time, but the page reads cookies, headers or search params, which only exist during a real request.
Code meant for the server (that uses Node's fs, path or a database library) got imported into a component that runs in the browser.
Since Next.js 15, params and searchParams in pages, layouts and route handlers are Promises, so you have to await them before reading a value.
createClient() got undefined for the project URL, which almost always means the environment variable isn't set, isn't loaded, or isn't exposed to the browser.
Next.js redirect() works by throwing a special error. A try/catch around it catches that error, so the redirect never happens and NEXT_REDIRECT shows up in your logs or UI.
TypeScript sees that a value might be missing (undefined or null) and you're passing it somewhere that requires a real value.
GitHub has commits your computer doesn't, so Git refuses to overwrite them. Pull those commits in first, then push.
Don't see yours? Paste your error and get a plain-English explanation free, or see plans for full code fixes.