Error map
held broken packages Unmet dependencies / E: Unable to correct problems, you have held broken packages
Linux · layer 6, Platform & cloud
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.
Directly related (12)
java.lang.ClassNotFoundException / NoClassDefFoundError
The JVM couldn’t find a class on the classpath at runtime.
Error: Cannot find module 'x' (MODULE_NOT_FOUND)
Node can’t resolve the module path — the package isn’t installed, or a relative path/extension is wrong.
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…
npm ERR! code ERESOLVE — unable to resolve dependency tree
npm 7+ found conflicting peer dependency requirements and refuses to install a broken tree.
npm WARN EBADENGINE Unsupported engine / The engine "node" is incompatible with this module
A package requires a different Node.js version than the one you’re running.
E: The repository '...' does not have a Release file
apt can’t find index files for a source — the repo doesn’t support your Ubuntu/Debian release, the URL is wrong, or the release r…
Your requirements could not be resolved to an installable set of packages.
Composer can’t find package versions that satisfy every constraint (PHP version, extensions, other packages).
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.
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.
[ERROR] Failed to execute goal on project x: Could not resolve dependencies for project
Maven couldn’t download or find one or more dependencies.
npm ERR! code ELSPROBLEMS — invalid / extraneous / missing packages in npm ls
npm ls found the installed tree doesn’t match package.json and the lockfile.
ERROR: Could not find a version that satisfies the requirement x (from versions: none)
pip found no installable version of the package for your Python version, OS or index.
Two steps away (36)
PHP Fatal error: Uncaught Error: Class "X" not found
PHP couldn’t load the class — autoloading failed, the namespace is wrong, or the dependency isn’t installed.
java.lang.NullPointerException
Code called a method or accessed a field on a reference that is `null`.
Could not load file or assembly 'X, Version=…' or one of its dependencies
The runtime couldn’t find or load a referenced DLL — missing from the output, wrong version, or wrong platform (x86/x64).
Error: ENOENT: no such file or directory
A file or directory the program tried to open doesn’t exist at that path.
TypeError: x is not a function
You called something as a function, but its value is not a function (it’s undefined, a string, an object…).
Error [ERR_REQUIRE_ESM]: require() of ES Module not supported
CommonJS code used `require()` on a package that is ES-module-only (node-fetch 3, chalk 5, nanoid 4, got 12…).
NameError: name 'x' is not defined
Python doesn’t know the name — it was never assigned/imported in this scope, or it’s misspelled.
VCRUNTIME140.dll was not found / MSVCP140.dll is missing
The program needs the Microsoft Visual C++ 2015–2022 Redistributable, which isn’t installed (or is damaged).
gyp ERR! build error / node-gyp rebuild failed
A dependency with native C/C++ code couldn’t compile — missing build tools, Python, or an unsupported Node version.
npm ERR! code EACCES — permission denied
npm can’t write to a directory — usually global installs into a root-owned folder.
npm ERR! code E404 — 404 Not Found: package@version is not in this registry
npm asked the registry for a package (or version) that doesn’t exist there — a typo, a private/scoped package without auth, or th…
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…
Duplicate class X found in modules A and B
Two dependencies ship the same class — typically old Android Support libraries mixed with AndroidX, or Kotlin stdlib-jdk7/jdk8 ve…
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './x' is not defined by "exports"
You imported a deep path inside a package that its package.json "exports" field doesn’t expose.
DeprecationWarning: Buffer() is deprecated due to security and usability issues (DEP0005)
Code (yours or a dependency) uses the deprecated new Buffer() constructor.
E: Could not get lock /var/lib/dpkg/lock-frontend — is another process using it?
apt can’t run because another package operation (often automatic updates) holds the dpkg lock.
E: Unable to locate package (apt / apt-get install)
apt can’t find the package name in its package lists — the lists are stale, the repository isn’t enabled, or the name is wrong fo…
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package’s install/configure script failed, so dpkg aborted. The real error is a few lines above this message.
CocoaPods could not find compatible versions for pod
pod install can’t satisfy the version constraints — outdated spec repo, a higher deployment target required, or two pods needing…
Composer: PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted
Composer ran out of memory while resolving or installing dependencies.
Runtime.ImportModuleError: Unable to import module 'lambda_function': No module named 'x'
Lambda couldn’t load your handler file or one of its dependencies — the package is missing from the deployment zip/layer or the h…
Android: INSTALL_FAILED_UPDATE_INCOMPATIBLE
An app with the same package name but a different signing key is already installed on the device.
Manifest merger failed: android:exported needs to be explicitly specified
Targeting Android 12 (API 31)+ requires `android:exported` on every activity, service or receiver that has an intent-filter.
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.
AttributeError: 'X' object has no attribute 'y'
You accessed an attribute or method that doesn’t exist on that object type.
ModuleNotFoundError: No module named 'distutils'
Python 3.12 removed distutils; old packages or tools that import it fail.
0x8007007E: The specified module could not be found
A DLL that a program, driver or COM component needs isn’t on disk or on the DLL search path.
java.lang.NoSuchMethodError
Code compiled against one version of a library is running with another version where the method doesn’t exist.
[ERROR] Fatal error compiling: error: release version 17 not supported
The JDK running Maven is older than the Java version the project compiles for.
Dependency 'androidx.x:1.y' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs
A library needs a higher compileSdk than your module uses (checkAarMetadata task).
npm ERR! code ETARGET — No matching version found for package@^9.9.9
The version range in package.json doesn’t match any published version of the package.
npm ERR! code ENOTEMPTY — ENOTEMPTY: directory not empty, rename
npm couldn’t rename a folder in node_modules because it wasn’t empty — usually a corrupted or concurrently modified node_modules.
npm WARN deprecated package@1.2.3: This package is no longer supported.
A dependency (often a transitive one) is deprecated by its author.
error: externally-managed-environment
Your system Python (Debian 12+, Ubuntu 23.04+, Homebrew) refuses pip installs into the OS-managed environment (PEP 668).
error: subprocess-exited-with-error / Failed building wheel for x
pip had to compile a package from source and the build failed — missing compiler, headers or system libraries.
error NU1101: Unable to find package X. No packages exist with this id in source(s): nuget.org
NuGet restore can’t find the package in any configured source — typo, private feed not configured/authenticated, or nuget.org mis…
Map another error
Popular: 4035004000xC000007BTypeErrorCritical error404NullPointerException