Developer Troubleshooting Directory

Developer Error Solver Hub

Instant answers and 1-click terminal commands for the most infuriating Git, Docker, Node.js, Port, and Network errors. No ads, no bloated forums, no server tracking.

Showing 22 developer error solutions
Port & Network

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

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

Another process (usually an orphaned Node.js, Next.js, or React process) is already listening on local port 3000.

1-click fixes for Win, Mac, LinuxView Solution
Port & Network

Fix "Error: listen EADDRINUSE: address already in use :::8080"

$Error: listen EADDRINUSE: address already in use :::8080

An active Apache Tomcat, Spring Boot, Jenkins, or background web server instance is already bound to port 8080.

1-click fixes for Win, Mac, LinuxView Solution
Port & Network

Fix "Port 5173 is in use, trying another one... (Vite Dev Server)"

$Port 5173 is in use, trying another one... (Vite)

A previous Vite dev server instance (Vue, Svelte, or React) did not shut down cleanly and holds port 5173.

1-click fixes for Win, Mac, LinuxView Solution
Port & Network

Fix "Error: listen EADDRINUSE: address already in use :::5000" (Flask / AirPlay)

$Error: listen EADDRINUSE: address already in use :::5000

On macOS Monterey and newer, AirPlay Receiver listens on port 5000 by default, colliding with Flask and Express servers.

1-click fixes for Win, Mac, LinuxView Solution
Port & Network

Fix "Error: listen EADDRINUSE: address already in use :::8000" (Django / PHP)

$Error: listen EADDRINUSE: address already in use :::8000

A suspended Django development server or local PHP server is occupying port 8000.

1-click fixes for Win, Mac, LinuxView Solution
JavaScript & Node

Fix "SyntaxError: Unexpected token < in JSON at position 0"

$SyntaxError: Unexpected token < in JSON at position 0

Your client-side code called response.json(), but the backend API server returned an HTML error page (like a 404, 500, or Nginx error page starting with "<!DOCTYPE html>").

1-click fixes for Win, Mac, LinuxView Solution
JavaScript & Node

Fix "CORS Policy: No Access-Control-Allow-Origin header is present"

$Access to XMLHttpRequest has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource

The browser blocked a cross-origin HTTP request because the target API server did not send the "Access-Control-Allow-Origin" header.

1-click fixes for Win, Mac, LinuxView Solution
JavaScript & Node

Fix "ReferenceError: window is not defined" in Next.js & React SSR

$ReferenceError: window is not defined (or document is not defined)

Code accessing browser-only APIs (window, document, localStorage, navigator) was executed on the server during Server-Side Rendering (SSR) or Static Site Generation (SSG).

1-click fixes for Win, Mac, LinuxView Solution
JavaScript & Node

Fix "TypeError: Cannot read properties of undefined (reading 'xyz')"

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

Attempting to access a property or invoke a method on a variable that evaluates to undefined or null.

1-click fixes for Win, Mac, LinuxView Solution
JavaScript & Node

Fix "npm ERR! code ERESOLVE unable to resolve dependency tree"

$npm ERR! code ERESOLVE unable to resolve dependency tree

Conflicting peer dependencies between installed npm packages when upgrading React or Node packages.

1-click fixes for Win, Mac, LinuxView Solution
Git

Fix "fatal: refusing to merge unrelated histories" in Git

$fatal: refusing to merge unrelated histories

Git prevented a merge or pull because the local and remote repositories were initialized separately and do not share a common ancestor commit.

1-click fixes for Win, Mac, LinuxView Solution
Git

Fix "error: failed to push some refs to [remote]" in Git

$error: failed to push some refs to 'https://github.com/...'

The remote repository contains commits that you do not have locally (e.g. README created on GitHub web).

1-click fixes for Win, Mac, LinuxView Solution
Git

Fix "You are in 'detached HEAD' state" in Git

$You are in 'detached HEAD' state. You can look around, make experimental changes...

You checked out a specific commit hash, tag, or remote branch directly rather than a local named branch.

1-click fixes for Win, Mac, LinuxView Solution
Docker

Fix "Conflict. The container name is already in use by container..." in Docker

$docker: Error response from daemon: Conflict. The container name "/app" is already in use by container...

A stopped or background container with the same name already exists in Docker daemon state.

1-click fixes for Win, Mac, LinuxView Solution
Docker

Fix "Cannot connect to the Docker daemon at unix:///var/run/docker.sock"

$Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

The Docker service is stopped, Docker Desktop is not started, or the current user lacks permission to access the Docker socket.

1-click fixes for Win, Mac, LinuxView Solution
Security & Auth

Fix "JsonWebTokenError: jwt malformed / invalid signature"

$JsonWebTokenError: jwt malformed / invalid signature

The JWT token string was truncated, missing a dot delimiter, or signed with a different secret key than the verification routine.

1-click fixes for Win, Mac, LinuxView Solution
Security & Auth

Fix "Permission denied (publickey)" in SSH & GitHub

$git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

Your SSH client did not offer a public key recognized by the remote server, or file permissions on ~/.ssh/id_rsa are too permissive.

1-click fixes for Win, Mac, LinuxView Solution
Security & Auth

Fix "Host key verification failed / REMOTE HOST IDENTIFICATION HAS CHANGED"

$@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ Host key verification failed.

The target server was re-installed or its IP address was assigned to a new machine, causing a fingerprint mismatch in your ~/.ssh/known_hosts file.

1-click fixes for Win, Mac, LinuxView Solution
Security & Auth

Fix "Error: certificate has expired / CERT_HAS_EXPIRED" in Node.js & cURL

$Error: certificate has expired (CERT_HAS_EXPIRED)

The SSL/TLS certificate of the destination server has passed its validity expiration date, or your system clock is out of sync.

1-click fixes for Win, Mac, LinuxView Solution
Python

Fix "ModuleNotFoundError: No module named 'xyz'" in Python

$ModuleNotFoundError: No module named 'requests' (or 'dotenv', 'numpy')

The required Python package is not installed in the currently active Python interpreter or virtual environment.

1-click fixes for Win, Mac, LinuxView Solution
Database

Fix "FATAL: password authentication failed for user 'postgres'"

$FATAL: password authentication failed for user "postgres"

Incorrect password entered, or pg_hba.conf is enforcing md5/scram-sha-256 authentication for local sockets.

1-click fixes for Win, Mac, LinuxView Solution
Port & Network

Fix "502 Bad Gateway" in Nginx & Reverse Proxies

$502 Bad Gateway (connect() failed (111: Connection refused) while connecting to upstream)

Nginx received an invalid or nonexistent response from the upstream application server (Node.js, Gunicorn, PHP-FPM) because the backend service is stopped or listening on a different port.

1-click fixes for Win, Mac, LinuxView Solution