π§ Error Fixes
328 common errors with step-by-step solutions. Paste your error below.
π¨ JavaScript / TypeScript (66)
-
Build Failed β How to Fix JavaScript Build Errors
-
Bun Install Failed β How to Fix It
-
Cannot Find Module β How to Fix in TypeScript and Node.js
-
CORS Error Explained β What It Means and How to Fix It
-
Deno: PermissionDenied β How to Fix It
-
Drizzle ORM: Type Error β Column Type Mismatch
-
Effect-TS: Fiber Failure β Defect β How to Fix It
-
ESLint: Parsing Error β How to Fix Unexpected Token Errors
-
Hono: 404 Not Found for All Routes β How to Fix It
-
JavaScript ReferenceError: Variable Is Not Defined β How to Fix It
-
JavaScript SyntaxError: Unexpected Token β How to Fix It
-
JavaScript TypeError: Assignment to Constant Variable β How to Fix It
-
JavaScript: Cannot Read Properties of Undefined β How to Fix It
-
JavaScript: Unexpected End of JSON Input β How to Fix It
-
JavaScript: Unhandled Promise Rejection β How to Fix It
-
JSON Parse Error β How to Fix It
-
Maximum Call Stack Size Exceeded β How to Fix It
-
Node.js Heap Out of Memory β How to Fix JavaScript Allocation Failures
-
Node.js: EADDRINUSE β Port Already in Use β How to Fix It
-
Node.js: ECONNREFUSED β Connection Refused β How to Fix It
-
Objects Are Not Valid as a React Child β How to Fix It
-
Out of Memory Error β How to Fix It
-
RangeError: Maximum Call Stack Size Exceeded β How to Fix It
-
React: Cannot Find Module or Its Corresponding Type Declarations β How to Fix It
-
React: Cannot Read Properties of Undefined (Reading State)
-
React: Each Child Should Have a Unique Key Prop β How to Fix It
-
React: Invalid Hook Call β What It Means and How to Fix It
-
React: Rendered Fewer Hooks Than Expected β How to Fix It
-
React: Too Many Re-renders β How to Fix Infinite Loops
-
ReferenceError β X is not defined
-
ReferenceError: require Is Not Defined β How to Fix It
-
Stack Overflow Error β How to Fix It
-
SyntaxError β Unexpected token
-
SyntaxError: Cannot Use Import Statement Outside a Module β How to Fix It
-
SyntaxError: Missing Semicolon Before Statement β How to Fix It
-
SyntaxError: Unexpected Token β How to Fix It
-
SyntaxError: Unexpected Token < in JSON β How to Fix It
-
T3 Env: Environment Variable Validation Failed
-
tRPC: Input Validation Error β How to Fix It
-
TypeError β Assignment to constant variable
-
TypeError β Cannot destructure property of undefined
-
TypeError: .forEach Is Not a Function β How to Fix It
-
TypeError: Assignment to Constant Variable β How to Fix It
-
TypeError: Cannot Read Properties of Null β How to Fix It
-
TypeError: Cannot Read Properties of Null β How to Fix It (Vanilla JS)
-
TypeError: Cannot Read Property of Undefined β Common Causes and Fixes
-
TypeError: Cannot Set Property of Undefined/Null β How to Fix It
-
TypeError: fetch failed (Node.js) β How to Fix It
-
TypeError: undefined is not a function β How to Fix It
-
TypeError: X Is Not a Function β How to Fix It in JavaScript
-
TypeScript β Property does not exist on type
-
TypeScript Declaration File Missing β How to Fix .d.ts Errors
-
TypeScript Enum Errors β How to Fix Them
-
TypeScript Strict Mode Errors β How to Fix Them
-
TypeScript TS2322 β Type 'X' is not assignable to type 'Y'
-
TypeScript: Argument of Type X Is Not Assignable to Parameter of Type Y
-
TypeScript: Cannot Find Module β How to Fix It
-
TypeScript: No Overload Matches This Call β How to Fix It
-
TypeScript: Object Is Possibly 'undefined' β How to Fix It
-
TypeScript: Object Is Possibly Null β How to Fix It
-
TypeScript: Type X Is Not Assignable to Type Y β How to Fix It
-
UnhandledPromiseRejection β How to Fix It
-
Vite: Failed to Resolve Import β How to Fix It
-
Webpack: ChunkLoadError β Loading Chunk Failed β How to Fix It
-
Webpack: Module Not Found β Can't Resolve β How to Fix It
-
Zod: ZodError β Validation Failed β How to Fix It
βοΈ React / Next.js (28)
-
Hydration Mismatch Error (React / Next.js) β How to Fix It
-
Maximum Update Depth Exceeded β How to Fix It (React)
-
Module Not Found: Can't Resolve β How to Fix It
-
Next.js 404 β Page Not Found
-
Next.js 500 Internal Server Error β How to Fix It
-
Next.js API Route Not Working β How to Fix It
-
Next.js Error: Cannot Import Server Component into Client Component β Fix
-
Next.js Hydration Error β How to Fix 'Text Content Does Not Match'
-
Next.js: Dynamic Server Usage β Route Couldn't Be Rendered Statically
-
Next.js: getServerSideProps Error β How to Fix It
-
Next.js: Image hostname Not Configured β How to Fix It
-
Next.js: Module Not Found β Can't Resolve 'fs' / 'path' / 'crypto'
-
React β 'Rendered more hooks than during the previous render'
-
React β Cannot read properties of null (useState/useRef)
-
React β Cannot update a component while rendering a different component
-
React Hooks Error β How to Fix Invalid Hook Call
-
React useContext Returns Undefined β How to Fix It
-
React useEffect Missing Dependency Warning β How to Fix It
-
React useState Not Updating β How to Fix Stale State
-
React White Screen / Blank Page β How to Fix It
-
React: Can't Perform a State Update on an Unmounted Component
-
React: Cannot Update During an Existing State Transition
-
React: JSX Expressions Must Have One Parent Element
-
Remix: Loader Error β Unexpected Response
-
shadcn/ui: Component Not Found After Install β How to Fix It
-
TanStack Router: Route Not Found β How to Fix It
-
Turbopack: Feature Not Yet Supported β How to Fix It
-
Vercel Build Failed β Common Errors and How to Fix Them
π Python (45)
-
Broken Pipe Error β How to Fix It
-
Environment Variable Not Found / Undefined β How to Fix It
-
ModuleNotFoundError / ImportError β How to Fix It
-
pip install Error β How to Fix Common pip Problems
-
pip: Externally Managed Environment β How to Fix It
-
pip: No Matching Distribution Found β How to Fix It
-
Python AssertionError β How to Fix It
-
Python AttributeError β object has no attribute
-
Python ConnectionError / requests.exceptions.ConnectionError β How to Fix It
-
Python FileNotFoundError β No such file or directory
-
Python ImportError β cannot import name
-
Python ImportError: Cannot Import Name β Circular Import Fix
-
Python IndentationError β How to Fix It
-
Python IndentationError β How to Fix Unexpected Indent
-
Python IndexError: List Index Out of Range β How to Fix It
-
Python JSONDecodeError β How to Fix It
-
Python KeyError
-
Python ModuleNotFoundError β How to Fix 'No module named'
-
Python NameError: Name 'X' Is Not Defined β How to Fix It
-
Python OSError: [Errno 28] No Space Left on Device β How to Fix It
-
Python OverflowError β How to Fix It
-
Python PermissionError: [Errno 13] Permission Denied β How to Fix It
-
Python RecursionError β maximum recursion depth exceeded
-
Python RuntimeError β How to Fix It
-
Python StopIteration β How to Fix It
-
Python SyntaxError β How to Fix Common Syntax Errors
-
Python SyntaxError: EOL While Scanning String Literal β How to Fix It
-
Python SyntaxError: Invalid Syntax β How to Fix It
-
Python TypeError β How to Fix Common Type Errors
-
Python TypeError β unsupported operand type(s)
-
Python TypeError: 'int' Object Is Not Iterable β How to Fix It
-
Python TypeError: 'NoneType' Object Is Not Subscriptable β Fix
-
Python TypeError: 'NoneType' Object Is Not Subscriptable β How to Fix It
-
Python TypeError: 'str' Object Is Not Callable β How to Fix It
-
Python TypeError: Can Only Concatenate Str to Str β How to Fix It
-
Python TypeError: Missing Required Argument β How to Fix It
-
Python TypeError: Object Is Not JSON Serializable β How to Fix It
-
Python TypeError: String Indices Must Be Integers β How to Fix It
-
Python TypeError: Takes X Positional Arguments but Y Were Given β How to Fix It
-
Python TypeError: Unhashable Type 'list' β How to Fix It
-
Python UnicodeDecodeError: 'utf-8' Codec Can't Decode β How to Fix It
-
Python ValueError β How to Fix It
-
Python ValueError β too many values to unpack
-
Python ValueError: Invalid Literal for int() β How to Fix It
-
Python ZeroDivisionError: Division by Zero β How to Fix It
π Git / GitHub (20)
-
fatal: not a git repository (or any of the parent directories) β Fix
-
git β Changes not staged for commit
-
git β Your branch is behind 'origin/main'
-
Git Detached HEAD β What It Means and How to Fix It
-
git fatal β refusing to merge unrelated histories
-
Git Merge Conflict β How to Fix It
-
Git Merge Conflict β How to Resolve It Step by Step
-
Git Push Rejected β How to Fix It
-
git push Rejected β Non-Fast-Forward Error Fix
-
Git Rebase Conflict β How to Fix It
-
git stash pop CONFLICT β How to Fix Stash Merge Conflicts
-
Git: Already Up to Date but Files Are Different β How to Fix It
-
Git: Cannot Lock Ref β How to Fix It
-
Git: Permission Denied (publickey) β How to Fix SSH Access
-
Git: Refusing to Merge Unrelated Histories β How to Fix It
-
Git: Unable to Access β Could Not Resolve Host
-
Git: Your Local Changes Would Be Overwritten β How to Fix It
-
GitHub Actions: Permission Denied β How to Fix It
-
How to Undo the Last Git Commit
-
SSL Certificate Problem β Fix 'Unable to Get Local Issuer Certificate'
π¦ Node.js / npm (21)
-
Address Already in Use β How to Fix It
-
EACCES Permission Denied β Fix npm Global Install Errors
-
EADDRINUSE: Address Already in Use β How to Fix It
-
ECONNRESET / Connection Reset β How to Fix It
-
ENOENT: No Such File or Directory β How to Fix It
-
ENOSPC: System Limit for Number of File Watchers Reached β Fix
-
error:0308010C:digital envelope routines::unsupported β How to Fix It
-
npm audit β How to Fix Vulnerabilities
-
npm Cache Issues β How to Clean and Fix
-
npm EACCES: Permission Denied β How to Fix It
-
npm ERR! code E404 β Package Not Found Fix
-
npm ERR! code ELIFECYCLE β How to Fix It
-
npm ERR! ENOENT β no such file or directory
-
npm ERR! ERESOLVE β Could Not Resolve Dependency Conflict
-
npm ERR! ERESOLVE β How to Fix Dependency Conflicts
-
npm Peer Dependency Error β What It Means and How to Fix It
-
npm WARN deprecated β package is no longer maintained
-
npm: Cannot Find Module β How to Fix It
-
pnpm: Missing Peer Dependency β How to Fix It
-
pnpm: Module Not Found β Shamefully Hoist Fix
-
Yarn: Integrity Check Failed β How to Fix It
π³ Docker (17)
-
Docker β exec format error
-
Docker β image not found / pull access denied
-
Docker Build Failed β How to Fix Common Docker Build Errors
-
Docker Compose: Service Depends On Not Working β How to Fix It
-
Docker Compose: Version Is Obsolete β How to Fix It
-
Docker Container Exits Immediately β How to Fix It
-
Docker ENOMEM: Not Enough Memory β How to Fix Build Failures
-
Docker Logs Too Large β How to Fix Disk Space Issues
-
Docker: Container Name Already in Use β How to Fix It
-
Docker: COPY Failed β File Not Found in Build Context
-
Docker: ImagePullBackOff β How to Fix It
-
Docker: Multi-Platform Build Failed β How to Fix It
-
Docker: Network Not Found β How to Fix It
-
Docker: No Space Left on Device β How to Free Up Disk Space
-
Docker: Permission Denied While Trying to Connect β How to Fix It
-
Docker: Port Already in Use β 3 Quick Fixes
-
ERR_CONNECTION_REFUSED β Why Your Server Isn't Responding
ποΈ Databases (18)
-
Connection Timeout β How to Fix It
-
Drizzle ORM: Relation Not Found β How to Fix It
-
MongoDB ServerSelectionTimeoutError β How to Fix It
-
MongoDB: Connection Failed β How to Fix It
-
MongoDB: E11000 Duplicate Key Error β How to Fix It
-
MySQL Too Many Connections β How to Fix It
-
MySQL: Access Denied for User β How to Fix It
-
PostgreSQL: Connection Refused β How to Fix It
-
PostgreSQL: Relation Does Not Exist β How to Fix It
-
Prisma β migration failed / database schema drift
-
Prisma P2002: Unique Constraint Failed β How to Fix It
-
Prisma P2025: Record Not Found β How to Fix It
-
Prisma: Environment Variable Not Found β How to Fix It
-
Prisma: Migration Failed β Database Schema Drift
-
Redis OOM / maxmemory β How to Fix It
-
Redis: Connection Refused β How to Fix It
-
SQLite: Database Is Locked β How to Fix It
-
Supabase: New Row Violates Row-Level Security Policy β How to Fix It
π Server / Network (11)
-
502 Bad Gateway β How to Fix It
-
502 Bad Gateway β What It Means and How to Fix It
-
Cannot Allocate Memory β How to Fix It
-
CORS Error: Blocked by CORS Policy β How to Fix It
-
DNS Resolution Failed β How to Fix It
-
Netlify: Build Failed β How to Fix It
-
Nginx 502 Bad Gateway β How to Fix It
-
Nginx: Permission Denied β 403 Forbidden β How to Fix It
-
SSL Certificate Expired β How to Fix It
-
SSL Handshake Failed β How to Fix It
-
Vercel: Serverless Function Timeout β How to Fix It
π» System / Terminal (102)
-
Aider Git Error Fix: Common Aider Issues and Solutions (2026)
-
Aider Model Context Window Exceeded Fix: Token Limit Solutions (2026)
-
Android: NetworkOnMainThreadException β How to Fix It
-
Android: NetworkOnSecurityException β How to Fix It
-
Angular: ExpressionChangedAfterItHasBeenChecked β How to Fix It
-
Astro: Component Not Interactive β Hydration Directive Missing
-
Astro: Content Collection Schema Validation Error
-
AWS CLI: You Must Specify a Region β How to Fix It
-
AWS Lambda: Timeout β How to Fix It
-
AWS S3 Access Denied β How to Fix It
-
AWS: AccessDenied β How to Fix It
-
Bun: SQLite Error β Database Is Locked or Not Found
-
C# ArgumentNullException β How to Fix It
-
C# Cannot Implicitly Convert Type β How to Fix It
-
C# FormatException β How to Fix It
-
C# InvalidOperationException β How to Fix It
-
C# NullReferenceException β Object Reference Not Set β How to Fix It
-
C# StackOverflowException β How to Fix It
-
C#: HttpClient Timeout β How to Fix It
-
C#: ObjectDisposedException β How to Fix It
-
Claude Code Permission Denied Fix: File Access and Shell Command Errors (2026)
-
Cloudflare Workers: Script Too Large β How to Fix It
-
Cloudflare: Error 524 Timeout β How to Fix It
-
command not found β How to Fix PATH Issues in Your Terminal
-
CSS Flexbox Not Centering β How to Fix It
-
CSS Grid Items Overflowing Container β How to Fix It
-
CSS position: sticky Not Working β How to Fix It
-
CSS z-index Not Working β How to Fix It
-
Cypress: Element Is Detached from the DOM β How to Fix It
-
ESLint no-unused-vars β How to Fix It
-
fatal error: all goroutines are asleep β deadlock β How to Fix It
-
Firebase: Permission Denied β How to Fix It
-
Go Interface Conversion Panic β How to Fix It
-
Go: Cannot Use X as Type Y β How to Fix It
-
Go: Context Deadline Exceeded β How to Fix It
-
Go: Declared and Not Used β How to Fix It
-
Go: Multiple-Value in Single-Value Context β How to Fix It
-
Go: Runtime Error β Invalid Memory Address or Nil Pointer Dereference
-
GraphQL: Cannot Query Field on Type β How to Fix It
-
IndexOutOfBoundsException β How to Fix It
-
Java ClassCastException β How to Fix It
-
Java ClassNotFoundException β How to Fix It
-
Java ConcurrentModificationException β How to Fix It
-
Java FileNotFoundException β How to Fix It
-
Java IllegalArgumentException β How to Fix It
-
Java IOException β How to Fix It
-
Java NullPointerException β How to Fix It
-
Java OutOfMemoryError: Java Heap Space β How to Fix It
-
Java UnsupportedOperationException β How to Fix It
-
Java: ArrayIndexOutOfBoundsException β How to Fix It
-
Java: StackOverflowError β How to Fix It
-
Jest: Cannot Find Module β How to Fix It
-
Kotlin: NullPointerException β How to Fix It
-
kubectl: Connection Refused β The Connection to the Server Was Refused
-
Kubernetes OOMKilled β How to Fix It
-
Kubernetes: CrashLoopBackOff β How to Fix It
-
Kubernetes: ImagePullBackOff β How to Fix It
-
Linux: Command Not Found β How to Fix It
-
Linux: No Space Left on Device β How to Fix It
-
Linux: Permission Denied When Running Script β How to Fix It
-
Linux: Too Many Open Files β How to Fix It
-
Mixed Content Blocked β How to Fix It
-
NullPointerException β How to Fix It (Java, Kotlin, C#)
-
Nuxt 3: useFetch Returns Null β How to Fix It
-
Ollama API Timeout Fix: Slow or Hanging API Requests (2026)
-
Ollama Connection Refused Fix: Server Not Starting or Not Responding (2026)
-
Ollama GPU Not Detected Fix: CUDA and Metal Acceleration Issues (2026)
-
Ollama Model Not Found Fix: Why Your Model Won't Pull or Run (2026)
-
Ollama Out of Memory Fix: 5 Solutions That Actually Work (2026)
-
Ollama Slow Inference Fix: Speed Up Local AI Model Response Times (2026)
-
OpenRouter Rate Limit Fix: 429 Errors and Retry Strategies (2026)
-
Permission Denied β How to Fix It (Linux, Mac, Windows)
-
PHP: Cannot Modify Header Information β Headers Already Sent
-
PHP: Undefined Index / Undefined Array Key β How to Fix It
-
Playwright: Test Timeout β Exceeded 30000ms β How to Fix It
-
Prettier and ESLint Conflicting β How to Fix It
-
Prettier Not Formatting on Save β How to Fix It
-
React Native: Metro Bundler Error β Unable to Resolve Module
-
Rust: Cannot Borrow as Mutable β Borrow Checker Errors Explained
-
Rust: Does Not Live Long Enough β How to Fix Lifetime Errors
-
Rust: Expected Type X, Found Y β How to Fix It
-
Rust: Trait X Is Not Implemented for Y β How to Fix It
-
Rust: Value Used After Move β How to Fix It
-
Segmentation Fault β What It Means and How to Fix It
-
SSH: Connection Timed Out β How to Fix It
-
Supabase: Auth Session Missing β getSession Returns Null
-
SvelteKit: Error in Load Function β How to Fix It
-
Swift: Unexpectedly Found Nil While Unwrapping an Optional β How to Fix It
-
Tailwind CSS Classes Not Applying β How to Fix It
-
Tailwind CSS v4: Classes Not Working After Upgrade
-
Tailwind CSS: Classes Missing in Production β How to Fix It
-
TaskCanceledException: A Task Was Canceled β How to Fix It (C#)
-
terraform init Failed β How to Fix It
-
Terraform State Lock Error β How to Fix It
-
Terraform: Failed to Query Available Provider Packages
-
Turborepo: Cache Miss β Tasks Running When They Shouldn't
-
Vite HMR Not Working β How to Fix Hot Reload
-
Vitest: Failed to Parse Source β Import Error
-
vLLM CUDA Out of Memory Fix: GPU Optimization for LLM Serving (2026)
-
Webpack Loader Error β How to Fix It
-
Wrangler: Deployment Failed β How to Fix It
-
zsh: Permission Denied β How to Fix It on macOS and Linux