Error map

cookies() should be awaited Next.js 15: Route "/x" used `cookies().get('token')`. `cookies()` should be awaited before using its value

Next.js · layer 1, On your device

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

cookies() should be awaited — Next.js 15: Route "/x" used `cookies().get('token')`. `cookies()` should be awaited before using its value (Next.js)cookies() s…No module named distutils — ModuleNotFoundError: No module named 'distutils' (Python)No module named dis…Call to undefined function create_function() — WordPress on PHP 8: Fatal error: Uncaught Error: Call to undefined function create_function() / each() (WordPress)Call to undefined f…server-only — Next.js: You're importing a component that needs "server-only". That only works in a Server Component (Next.js)server-onlycaching_sha2_password — Authentication plugin 'caching_sha2_password' cannot be loaded (MySQL)caching_sha2_passwo…old lockfile — npm WARN old lockfile — The package-lock.json file was created with an old version of npm, so supplemental metadata must be fetched (npm)old lockfileincompatible data directory — FATAL: database files are incompatible with server — The data directory was initialized by PostgreSQL version 15, which is not compatible with this version 16 (PostgreSQL)incompatible data d…findDOMNode deprecated — Warning: findDOMNode is deprecated and will be removed in the next major release. (React)findDOMNode depreca…incompatible version of Kotlin — Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.0.0, expected version is 1.8.0 (Android)incompatible versio…requires at least PHP — WordPress: Your server is running PHP version 7.2 but WordPress 6.x requires at least 7.4 / This plugin requires a newer version of PHP (WordPress)requires at least P…NEXT_REDIRECT — Next.js: Error: NEXT_REDIRECT (redirect() inside try/catch) (Next.js)NEXT_REDIRECTCorepack keyid — Error: Cannot find matching keyid (Corepack signature verification) (npm)Corepack keyidReactDOM.render deprecated — Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. (React)ReactDOM.render dep…Could not resolve — Gradle: Could not resolve all files for configuration / Could not resolve dependency (Android)Could not resolveModuleNotFoundError — ModuleNotFoundError: No module named 'x' (Python)ModuleNotFoundErrorImportError — ImportError: cannot import name 'x' from 'y' (Python)ImportErrorCall to undefined function — PHP Fatal error: Uncaught Error: Call to undefined function (PHP)Call to undefined f…Critical error — WordPress: There Has Been a Critical Error on This Website (WordPress)Critical errorDeprecated null to internal — Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated (PHP)Deprecated null to …Can't resolve 'fs' — Module not found: Can't resolve 'fs' (Next.js / webpack 5) (React)Can't resolve 'fs'needs useState — You're importing a component that needs useState. It only works in a Client Component but none of its parents are marked with "use client" (React)needs useStateFunctions cannot be passed — Error: Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". (React)Functions cannot be…1045 — MySQL ERROR 1045 (28000): Access denied for user (MySQL)10451130 — MySQL ERROR 1130 (HY000): Host 'x' is not allowed to connect to this MySQL server (MySQL)11301698 — MySQL ERROR 1698 (28000): Access denied for user 'root'@'localhost' (MySQL)1698EINTEGRITY — npm ERR! code EINTEGRITY — sha512 integrity checksum failed (npm)EINTEGRITYnpm ci out of sync — npm ERR! `npm ci` can only install packages when your package.json and package-lock.json are in sync (npm)npm ci out of syncnpm ci no lockfile — npm ERR! The `npm ci` command can only install with an existing package-lock.json or npm-shrinkwrap.json (npm)npm ci no lockfilecb() never called — npm ERR! cb() never called! (npm)cb() never calledsharp module — Error: Could not load the "sharp" module using the linux-x64 runtime (npm)sharp moduleesbuild wrong platform — You installed esbuild for another platform than the one you're currently using. (npm)esbuild wrong platf…DEP0005 — DeprecationWarning: Buffer() is deprecated due to security and usability issues (DEP0005) (Node.js)DEP0005DEP0040 — DeprecationWarning: The `punycode` module is deprecated (DEP0040) (Node.js)DEP0040config global deprecated — npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead. (npm)config global depre…Unsupported class file major version — Gradle: Unsupported class file major version / Android Gradle plugin requires Java 17 to run (Android)Unsupported class f…numpy alias removed — AttributeError: module 'numpy' has no attribute 'float' (Python)numpy alias removeddefaultProps deprecated — Warning: Support for defaultProps will be removed from function components in a future major release. (React)defaultProps deprec…no matches for kind — no matches for kind "Ingress" in version "extensions/v1beta1" (resource mapping not found) (Kubernetes)no matches for kindMinimum supported Gradle version — Minimum supported Gradle version is 8.7. Current version is 8.2 (Android)Minimum supported G…Namespace not specified — Namespace not specified. Specify a namespace in the module's build file (AGP 8) (Android)Namespace not speci…Dynamic server usage — Error: Dynamic server usage: Route /x couldn't be rendered statically because it used `cookies` (React)Dynamic server usageEPUBLISHCONFLICT — npm ERR! 403 — You cannot publish over the previously published versions: 1.2.3 (npm)EPUBLISHCONFLICTnpx executable — npm ERR! could not determine executable to run (npm)npx executableMissing script — npm ERR! Missing script: "start" (npm)Missing scriptnot a git repository — fatal: not a git repository (or any of the parent directories): .git (Git)not a git repositoryauthor identity unknown — Author identity unknown *** Please tell me who you are. (Git)author identity unk…JAVA_HOME not set — ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. (Java)JAVA_HOME not set

Directly related (12)

No module named distutilsPython

ModuleNotFoundError: No module named 'distutils'

Python 3.12 removed distutils; old packages or tools that import it fail.

Call to undefined function create_function()WordPress

WordPress on PHP 8: Fatal error: Uncaught Error: Call to undefined function create_function() / each()

An old plugin/theme uses functions removed in PHP 8 (create_function, each), so the site breaks after a PHP upgrade.

server-onlyNext.js

Next.js: You're importing a component that needs "server-only". That only works in a Server Component

A Client Component (or a file it imports) pulls in server-only code — database clients, secrets, next/headers or a module marked…

caching_sha2_passwordMySQL

Authentication plugin 'caching_sha2_password' cannot be loaded

An old MySQL client/driver can’t use MySQL 8’s default authentication plugin.

old lockfilenpm

npm WARN old lockfile — The package-lock.json file was created with an old version of npm, so supplemental metadata must be fetched

The lockfile is lockfileVersion 1 (npm 6) and npm 7+ is upgrading it.

incompatible data directoryPostgreSQL

FATAL: database files are incompatible with server — The data directory was initialized by PostgreSQL version 15, which is not compatible with this version 16

A newer (or older) PostgreSQL major version was started on an existing data directory.

findDOMNode deprecatedReact

Warning: findDOMNode is deprecated and will be removed in the next major release.

A component (often an old library like react-transition-group v1, react-draggable) uses findDOMNode, which StrictMode flags and R…

incompatible version of KotlinAndroid

Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.0.0, expected version is 1.8.0

A dependency was compiled with a newer Kotlin version than your project’s Kotlin Gradle plugin can read.

requires at least PHPWordPress

WordPress: Your server is running PHP version 7.2 but WordPress 6.x requires at least 7.4 / This plugin requires a newer version of PHP

WordPress core, a plugin or a theme needs a newer PHP than the server runs.

NEXT_REDIRECTNext.js

Next.js: Error: NEXT_REDIRECT (redirect() inside try/catch)

redirect() works by throwing a special error; catching it in try/catch (or a .catch) swallows the redirect and logs NEXT_REDIRECT.

Corepack keyidnpm

Error: Cannot find matching keyid (Corepack signature verification)

An older Corepack couldn’t verify the signature of a newly published pnpm/yarn release after npm rotated its signing keys.

ReactDOM.render deprecatedReact

Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead.

The app uses the legacy root API, so React 18 features (concurrent rendering, automatic batching) are disabled.

Two steps away (34)

Could not resolveAndroid

Gradle: Could not resolve all files for configuration / Could not resolve dependency

Gradle couldn’t download a dependency — wrong coordinates/version, missing repository, offline mode, or network/proxy issues.

ModuleNotFoundErrorPython

ModuleNotFoundError: No module named 'x'

Python can’t find the module you import — it isn’t installed in the interpreter/virtualenv that’s running, or the import path is…

ImportErrorPython

ImportError: cannot import name 'x' from 'y'

The module was found, but the name you’re importing from it doesn’t exist — usually a version change or a circular import.

Call to undefined functionPHP

PHP Fatal error: Uncaught Error: Call to undefined function

PHP can’t find the function you called — usually a missing extension, missing include, or namespace issue.

Critical errorWordPress

WordPress: There Has Been a Critical Error on This Website

A PHP fatal error (usually from a plugin or theme) stopped WordPress; the real error is in the debug log or recovery-mode email.

Deprecated null to internalPHP

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated

PHP 8.1+ warns when null is passed to a built-in function that expects a string/int.

Can't resolve 'fs'React

Module not found: Can't resolve 'fs' (Next.js / webpack 5)

A Node.js built-in (fs, path, crypto, net) is imported into code that runs in the browser bundle.

needs useStateReact

You're importing a component that needs useState. It only works in a Client Component but none of its parents are marked with "use client"

In the Next.js App Router, a component using hooks or browser APIs is rendered as a Server Component.

Functions cannot be passedReact

Error: Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".

A Server Component passed a function prop to a Client Component.

1045MySQL

MySQL ERROR 1045 (28000): Access denied for user

MySQL rejected the login — wrong password, wrong user/host combination, or the user doesn’t exist.

1130MySQL

MySQL ERROR 1130 (HY000): Host 'x' is not allowed to connect to this MySQL server

No MySQL account exists for the host you’re connecting from.

1698MySQL

MySQL ERROR 1698 (28000): Access denied for user 'root'@'localhost'

root uses the auth_socket/unix_socket plugin (Ubuntu/Debian default), so password logins as root fail.

EINTEGRITYnpm

npm ERR! code EINTEGRITY — sha512 integrity checksum failed

A downloaded package’s hash doesn’t match the integrity value in package-lock.json — a corrupted cache, a changed tarball, or a l…

npm ci out of syncnpm

npm ERR! `npm ci` can only install packages when your package.json and package-lock.json are in sync

package-lock.json doesn’t match package.json, so npm ci refuses to install.

npm ci no lockfilenpm

npm ERR! The `npm ci` command can only install with an existing package-lock.json or npm-shrinkwrap.json

npm ci needs a committed lockfile and didn’t find one.

cb() never callednpm

npm ERR! cb() never called!

An old npm crash during install — usually network/cache corruption.

sharp modulenpm

Error: Could not load the "sharp" module using the linux-x64 runtime

sharp’s native binary for this OS/CPU isn’t installed — usually node_modules installed on another platform (Mac → Linux/Docker).

esbuild wrong platformnpm

You installed esbuild for another platform than the one you're currently using.

node_modules contains esbuild’s binary for a different OS/CPU.

DEP0005Node.js

DeprecationWarning: Buffer() is deprecated due to security and usability issues (DEP0005)

Code (yours or a dependency) uses the deprecated new Buffer() constructor.

DEP0040Node.js

DeprecationWarning: The `punycode` module is deprecated (DEP0040)

A dependency imports Node’s built-in punycode module, deprecated since Node 21.

config global deprecatednpm

npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.

A deprecation warning printed by npm 8.11–8.12 for the --global flag.

Unsupported class file major versionAndroid

Gradle: Unsupported class file major version / Android Gradle plugin requires Java 17 to run

The JDK running Gradle doesn’t match what the Gradle version or Android Gradle Plugin (AGP) supports.

numpy alias removedPython

AttributeError: module 'numpy' has no attribute 'float'

Code uses np.float/np.int/np.bool/np.object, which were removed in NumPy 1.24.

defaultProps deprecatedReact

Warning: Support for defaultProps will be removed from function components in a future major release.

A function component (often inside a library) uses Component.defaultProps.

no matches for kindKubernetes

no matches for kind "Ingress" in version "extensions/v1beta1" (resource mapping not found)

The manifest uses an apiVersion/kind the cluster doesn’t serve — a removed beta API, or a CRD that isn’t installed.

Minimum supported Gradle versionAndroid

Minimum supported Gradle version is 8.7. Current version is 8.2

The Android Gradle Plugin (AGP) version in your build needs a newer Gradle wrapper version.

Namespace not specifiedAndroid

Namespace not specified. Specify a namespace in the module's build file (AGP 8)

AGP 8 requires android { namespace = "…" } in each module’s build file; the package attribute in AndroidManifest.xml is no longer…

Dynamic server usageReact

Error: Dynamic server usage: Route /x couldn't be rendered statically because it used `cookies`

Next.js tried to statically render a route that reads request-specific data (cookies, headers, searchParams).

EPUBLISHCONFLICTnpm

npm ERR! 403 — You cannot publish over the previously published versions: 1.2.3

That version number has already been published (or unpublished) and can’t be reused.

npx executablenpm

npm ERR! could not determine executable to run

npx couldn’t find a binary to run for that package.

Missing scriptnpm

npm ERR! Missing script: "start"

The script name you ran isn’t defined in package.json "scripts".

not a git repositoryGit

fatal: not a git repository (or any of the parent directories): .git

You ran a Git command outside a Git working tree.

author identity unknownGit

Author identity unknown *** Please tell me who you are.

Git doesn’t know your name and email for commits.

JAVA_HOME not setJava

ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.

Build tools (Gradle, Maven, Android tools) can’t find a JDK.