Anleitungen zur Fehlerbehebung

Die Fehler, über die Leute beim Bauen mit KI-Tools am häufigsten stolpern – einfach erklärt und mit einem Prompt, mit dem dein Coding-Agent sie behebt.

Vite/Lovable: Env-Variablen im Browser-Build fixen

Variable is not defined in browser / Vite build didn't include it

Fix Supabase RLS "new row violates row-level security policy" (42501)

new row violates row-level security policy for table "profiles"

„Failed to fetch“-Fehler beheben

Error: failed to fetch

Fix Next.js 15+ asynchrone Request-time APIs

Next.js 15+ App Router page props are Promises

Fix CORS für Supabase Edge Functions mit Lovable

Access to fetch at ... from origin ... has been blocked by CORS policy

Claude Code/Cursor: HTTP 413 Request Entity Too Large

HTTP 413 Request Entity Too Large

Fix: Can't resolve '@/components/ui/button'

Module not found: Can't resolve '@/components/ui/button'

Next.js-Fehler "Hydration failed" beheben

Error: Hydration failed because the server rendered HTML didn't match the client

CORS-Fehler „No 'Access-Control-Allow-Origin' header“ beheben

Access to fetch at 'https://api.example.com' from origin 'http://localhost:3000'

Fix für "new row violates row-level security policy"

new row violates row-level security policy for table "profiles"

401 "invalid x-api-key" / "Incorrect API key" beheben

401 Unauthorized: invalid x-api-key / Incorrect API key provided

Fix: Cannot read properties of undefined (reading 'map')

TypeError: Cannot read properties of undefined (reading 'map')

"ReferenceError: window is not defined" in Next.js fixen

ReferenceError: window is not defined

Next.js-Fehler „Build failed because of TypeScript errors“

Type error: ... Build failed because of TypeScript errors (next build / vercel d

EADDRINUSE: address already in use :::3000 beheben

Error: listen EADDRINUSE: address already in use :::3000

Fix für "@prisma/client did not initialize yet"

@prisma/client did not initialize yet. Please run "prisma generate" and try to i

"Updates were rejected" (fetch first) bei git push fixen

! [rejected] main -> main (fetch first) error: failed to push some refs ... Upda

Stripe-Webhook-Fehler "No signatures found matching" fixen

No signatures found matching the expected signature for payload. Are you passing

Fix: useSearchParams() braucht Suspense

useSearchParams() should be wrapped in a suspense boundary at page "/". Read mor

Supabase „Edge Function returned a non-2xx“ beheben

FunctionsHttpError: Edge Function returned a non-2xx status code

Fix "Failed to fetch" Fehler: CORS & localhost-Probleme

TypeError: Failed to fetch

React-Fehler „Too many re-renders“ beheben

Too many re-renders. React limits the number of renders to prevent an infinite l

Supabase „Invalid Refresh Token: Not Found“ beheben

AuthApiError: Invalid Refresh Token: Refresh Token Not Found

Fix: Cannot read properties of null (reading 'X')

TypeError: Cannot read properties of null (reading 'X')

„Maximum update depth exceeded“ in React beheben

Error: Maximum update depth exceeded. This can happen when a component repeatedl

Vercel 504 FUNCTION_INVOCATION_TIMEOUT beheben

504: GATEWAY_TIMEOUT Code: FUNCTION_INVOCATION_TIMEOUT · Vercel Runtime Timeout

Supabase „Invalid login credentials“ & „Email not confirmed“ fixen

AuthApiError: Invalid login credentials

Fix: „Cross-Origin-Opener-Policy would block window.closed"

Cross-Origin-Opener-Policy policy would block the window.closed call.

Next.js „Dynamic server usage" beheben (nicht statisch)

Error: Dynamic server usage: Route /dashboard couldn't be rendered statically be

Supabase „Auth session missing!" beheben

AuthSessionMissingError: Auth session missing!

Vite-Fehler „Failed to resolve import“ beheben

[plugin:vite:import-analysis] Failed to resolve import "./components/Navbar" fro

Next.js-Fehler "Module not found: Can't resolve 'fs'" beheben

Module not found: Can't resolve 'fs'

Fix: "trying to use tailwindcss directly as a PostCSS plugin"

It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. T

React „Invalid hook call“ beheben: Ursachen & Fixes

Invalid hook call. Hooks can only be called inside of the body of a function com

Next.js 16: „middleware deprecated“ beheben (proxy)

⚠ The "middleware" file convention is deprecated. Please use "proxy" instead.

Claude Code: "exceeded the 32000 output token maximum"

API Error: Claude's response exceeded the 32000 output token maximum. To configu

Supabase-Fehler „Could not find the table" (PGRST205)

Could not find the table 'public.profiles' in the schema cache

React-Fehler „Rendered more hooks than…“ beheben

Error: Rendered more hooks than during the previous render.

Supabase "JWT expired" beheben (PGRST303, 401)

{"code":"PGRST303","details":null,"hint":null,"message":"JWT expired"}

Netlify-Build scheitert an fehlender Umgebungsvariable

Netlify build fails because required environment variable not set (e.g. undefine

Fix Supabase "permission denied for table" (42501) - fehlendes GRANT

permission denied for table "profiles" (code 42501)

Next.js 16 Laufzeitfehler in Proxy-Datei beheben

Build error about runtime config being rejected in proxy.ts (Next.js 16). The pr

tool_use/tool_result-Fehler in Claude Code beheben

Claude Code returns a 400 error when tool_use blocks aren't followed by their to

Fix React "Cannot update a component while rendering a different component"

Warning: Cannot update a component (`X`) while rendering a different component (

Claude Code "Invalid signature in thinking block" (400) beheben

API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message"

Claude Code "thinking blocks cannot be modified" (400)

API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message"

Fix Supabase "infinite recursion detected in policy" error

infinite recursion detected in policy for relation "profiles"

npm ERESOLVE: Abhängigkeitsbaum auflösen

npm ERR! ERESOLVE unable to resolve dependency tree

Fix: Supabase Storage "permission denied" & 403 Fehler

permission denied for table storage.objects

Supabase „Invalid API key“ und 401-Fehler beheben

{"message":"Invalid API key","hint":"Double check your Supabase anon or service_

Next.js: headers() außerhalb Request-Scope

`headers` was called outside a request scope. Read more: https://nextjs.org/docs

Firefox "NetworkError" beim Fetch beheben

TypeError: NetworkError when attempting to fetch resource.

Behebe Next.js-Umgebungsvariablen, die beim Build fehlen

Next.js build fails because a required environment variable is undefined or not

React-Warnung: Eindeutiger Key für Listenkinder

Warning: Each child in a list should have a unique "key" prop.

Supabase Auth 429: E‑Mail‑Rate‑Limit überschritten

email rate limit exceeded (code: over_email_send_rate_limit, HTTP 429)

Next.js Hydration: Date.now() im Render

Error: Hydration failed because the server rendered HTML didn't match the client

Supabase 42501: Permission denied für neue Tabellen fixen

42501: permission denied for table "tablename"

Cursor OpenAI Rate-Limit-Fehler beheben

Rate limit exceeded for your OpenAI key.

Lovable-App lädt nicht / 'Something went wrong'

Something went wrong on our end. You can try refreshing or head back home.

Netlify-Build-Fehler beheben

Netlify build failed / deployment error

Fix Next.js middleware deprecation - rename middleware.ts to proxy.ts

Next.js middleware is deprecated; use proxy.ts instead

Fix Next.js 16 proxy files not allowing runtime config

Next.js 16 proxy files do not allow a runtime configuration