Guides

Plain-English fixes for real error messages.

Fix "Error: Cannot find module" in Node, Next.js & Cursor projects

A package isn't installed, the import path is wrong, or the file name casing differs.

Fix "Hydration failed because the initial UI does not match" in Next.js

Server HTML differs from what React renders in the browser.

Fix CORS Errors When Calling an API from Lovable (or Any Frontend)

"Blocked by CORS policy" when your Lovable or Bolt app calls an API? Learn why browsers block it and how to fix it with a backend proxy or Supabase Edge Function.

"Module not found: Can't resolve": A 60-Second Checklist for AI-Generated Code

Fix "Module not found: Can't resolve" in Next.js, Vite, and React apps written by Cursor, Lovable, or Bolt with this quick checklist.

Fix "Hydration failed" in Next.js Apps Built with Cursor or v0

Getting "Hydration failed because the initial UI does not match" in a Cursor or v0 Next.js app? Here are the real causes and copy-paste fixes.

Fix npm ERESOLVE "unable to resolve dependency tree"

Getting npm ERR! ERESOLVE unable to resolve dependency tree in your Cursor, Bolt, or v0 project? Here's what peer dependency conflicts mean and how to fix them properly.

Supabase RLS Errors in Lovable and Bolt Apps (and How to Fix Them Safely)

Fix "new row violates row-level security policy" and empty query results in Lovable and Bolt apps using Supabase. Includes copy-paste SQL policies.

Replit Agent Stuck or Looping? Prompts That Unstick It

Is your Replit Agent stuck in a fix-break loop or repeating the same error? Use these practical steps and copy-paste prompts to get it moving again.

Why Your v0 or Bolt App Fails to Deploy on Vercel (and How to Fix It)

Your v0 or Bolt app works in preview but the Vercel build fails? Here are the most common build errors and how to fix each one.

"Invalid API key" or Undefined Env Vars on Vercel: How to Fix It

Your app works locally but on Vercel you get "Invalid API key" or undefined environment variables? Here's how Vercel env vars work and how to fix them.