Digest · 2026-11-24
Weekly Vibe-Coding Digest — Errors, Tools & Prompts
The weekly vibe-coding digest — PasteError
Most common errors of the week, AI coding tools worth trying, prompts you can steal. 5 minutes, every week.
Errors of the week
The top diagnosis this week came from a Cursor project: a component used window during server-side rendering. Next.js renders components on the server first — window doesn't exist there. The fix is either adding 'use client' to make it a client component, or reading the value after mount with useEffect.
We also kept seeing the classic TypeError: Failed to fetch — usually a localhost URL left in a deployed app, an http:// API called from an https:// page, or CORS. Open the Network tab before changing code.
- Next.js: "ReferenceError: window is not defined" — the
windowAPI used during server render. Fix: client component oruseEffect. - TypeError: Failed to fetch — request never finished, no status code. Usually
localhostin prod, mixedhttp/https, or CORS. - CORS: No 'Access-Control-Allow-Origin' header — fix is on the server, not in your
fetchcall. Watch if AI tool suggestsmode: 'no-cors'— it hides the error but you still won't get data.
Tools worth trying
- Cursor v2026.11.17 (Nov 17): Prompt hooks from the team dashboard now run in the CLI; sandboxed commands can use a private
/tmpon Linux (privateTmp: trueinsandbox.json); skip login scripts withCURSOR_LOGIN_SHELL=0; security: other processes can't read the CLI's memory on Linux. Changelog - Claude Code v2.1.330–331 (Nov 20–23): Code Mode (experimental, Claude writes JS to call tools), easel charts, org sign-in syncing settings across Bedrock/Foundry/Apps, scheduled tasks up to 30 days. Changelog
- v0 Security Review (Nov 10): ask v0 "Run DeepSec" to audit code for missing auth checks, injection, SSRF. Verified against the whole project before reporting, paid plans only. Docs
- Lovable GPT-6.2 Astra & Sol (Nov 20): new OpenAI models for app AI features (text + image input, text output). Also: Google account switching, IP allowlists on workspace API keys. Changelog
- Bolt: Opus 4.7 for deeper reasoning, mobile editing with WebContainers, Free plan collaborator limit (3), transfer requires paid plan on either side. Release notes
- Replit Missions (Nov 20): agent swarms plan, build, test, iterate toward a goal within budget and boundaries. Also: Performance Agent finds slowdowns, Microsoft Teams integration, publish apps to Azure (early access). Changelog
- Windsurf = Devin Desktop: tabs in Agent Command Center, local sessions run in background after closing the app, SWE-1.5 Free available to all users. Changelog
- GitHub Copilot (Nov 16): Claude Fable 5.2 and Gemini 4 Carbon added for Pro+/Max/Business/Enterprise; Copilot Fusion Max hit 71.2% on Terminal-Bench 4.1; browser use (public preview) lets Copilot fill forms, pull info from webpages, test/debug web apps. Weekly roundup
Prompt you can steal
Run a security review before you ship anything. Paste this into Cursor, Claude Code, Copilot, or any AI coding tool:
Before I launch, review this project for security problems. Check, in this order:\n1) Secrets: are any API keys or service-role keys in frontend code, in git, or in files the browser can load?\n2) Auth: which routes, API endpoints and database queries work without a logged-in user? Should they?\n3) Access: can a logged-in user read or change another user's data by changing an ID in the URL or request? (If we use Supabase: is Row Level Security on for every table, with a policy for each action?)\n4) Input: is any user input put into SQL, HTML, shell commands or fetch URLs without validation?\nList each finding with the file, the risk in one sentence, and the fix. Don't change any code yet. Wait until I say which ones to fix.
Why it works: you get a list first instead of a pile of edits, the order puts the worst leaks first, and "don't change any code yet" keeps the agent from "fixing" things you didn't ask it to touch. (Lovable added a native Security Review this week — same idea.)
Got an error you can't make sense of? Paste it into PasteError to get a plain-English explanation and a fix prompt for your tool. Want us to write up an error? Tell us.