ErrLookup › yarnpkg/yarn

yarnpkg/yarn

The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry · JavaScript · 251 source files

Analyzed at c2dda503f3 on 2026-08-13. 90 documented errors.

Code / MessageTypeSeverityTags
workspacesAddRootCheck
exception error workspaces, yarn-add, cli, guard
frozenLockfileError
exception error install, lockfile, ci, frozen-lockfile
installCommandRenamed
exception error cli, install, migration, npm-compat
importSourceFilesCorrupted
exception error yarn-import, package-lock, corruption, parsing
nohoist config is ignored in $0 because it is not a private…
validation error workspaces, nohoist, manifest, validation
: in
validation error lockfile, parse-error, syntax
Your project root defines workspaces but the feature is…
validation error workspaces, config, yarnrc
Unexpected audit response (Invalid JSON)
exception error audit, network, registry, json, proxy
invalidPackageName
exception error validation, package-name, npm, cli-args
importResolveFailed
exception error yarn-import, resolution, package-lock, registry
Couldn't find package $0 required by $1 on the $2 registry.
exception error registry, resolver, network, dependencies
This command can only be run inside an individual workspace.
validation error workspaces, focus, install
Unknown fetcher for $0
exception error fetcher, lockfile, resolver, install
The workspaces field in package.json must be an array.
validation error workspaces, config, manifest, validation
noRequiredLockfile
exception error lockfile, ci, install
foundErrors
exception error yarn-check, verify-tree, node-modules, integrity
Yarn hasn't been able to find a cache folder it can use…
exception error cache, filesystem, permissions, config
ENOENT
Couldn't find a package.json file in $0
exception error manifest, cache, enoent, install
Found incompatible module.
exception error engines, platform, compatibility, install
linkMissing
exception error cli, link, symlink, global
publishFail
exception error cli, publish, registry, network, version-conflict
Incorrect integrity when fetching from the cache for $0…
exception error security, cache, integrity, install
Scope should not be empty, got
exception error yarn-create, validation, scoped-package
Command not found.
exception error cli, run, scripts, did-you-mean
Release not found
exception error cli, policies, semver, version, self-update
unknownPackageName
exception error cli, link, manifest, package-json
Name should not start with "/", got
exception error yarn-create, validation, package-name
Error parsing JSON at $0, $1.
validation error json, config, manifest, parse-error
noPermission
exception error global, permissions, eacces, filesystem
Unknown registry resolver $0
exception error registry, configuration, resolver
Can't install from a lockfile of version
exception error lockfile, version, compatibility, upgrade
Unexpected audit response (Missing Metadata)
exception error audit, registry, json, api-mismatch
missingAddDependencies
exception error yarn-add, arguments, validation
Invalid number of spaces
validation error lockfile, parse-error, indentation
Don't know how to handle this file type
exception error cli, publish, filesystem, symlink
moduleNotInManifest
exception error cli, remove, manifest, dependencies
Incorrect hash when fetching from the cache for $0. Cache…
exception error security, cache, hash, install
noName
exception error generate-lock-entry, manifest, package-json, validation
incorrectCredentials
exception error cli, auth, credentials, login
lockfileExists
exception error yarn-import, lockfile, guard
Directory $0 doesn't exist
exception error filesystem, workspaces, cwd
nodeGypAutoInstallFailed
exception error node-gyp, native-modules, lifecycle-script
nonInteractiveNoToken
exception error cli, auth, ci, non-interactive, registry
workspacesRemoveRootCheck
exception error cli, remove, workspaces, safety-guard
There are more than one workspace with name $0
validation error workspaces, manifest, naming, validation
noVersion
exception error generate-lock-entry, manifest, package-json, version
malformedRegistryResponse
exception error registry, malformed, validation
workspaceUnknownWorkspace
exception error workspaces, manifest, validation
Outdated lockfile. Please run `yarn install` and try again.
exception error lockfile, sync, configuration
Failed to replace env in config
exception error env, config, env-replace
packageNotFoundRegistry
exception error registry, network, publish, npm
invalidVersion
exception error semver, validation, cli-args
Package $0 doesn't have a $1.
validation error manifest, validation, package-keys
execMissingCommand
exception error yarn-exec, arguments, validation
invalidAccess
exception error cli, publish, validation, access, registry
invalidVersionArgument
exception error cli-args, semver, validation
Recursive .yarnrc files specifying --cwd flags. Bailing out.
exception error yarnrc, configuration, recursion
requiredVersionInRange
exception error validation, cli-args, semver
Unknown single instance type
exception error cli, mutex, config
unplugDisabled
exception error plugnplay, config, installer
Invalid hosted git fragment $0.
validation error hosted-git, exotic-resolver, fragment
Package $1 refers to a non-existing file '$0'.
exception error file-resolver, paths, dependencies
Can't add $0: invalid package version $1.
validation error semver, manifest, validation
hostedGitResolveError
exception error hosted-git, network, resolver
workspaceMissingWorkspace
exception error cli-args, workspaces, validation
The package $0 requires a flat dependency graph. Add…
exception error flat-mode, dependency-graph, configuration
invalidFragment
validation error exotic-resolver, fragment, registry
couldntFindPackageInCache
exception error offline, cache, resolution
workspaceRootNotFound
exception error workspaces, config, manifest
tooManyArguments
exception error cli, publish, arguments, validation
couldn't find
exception error registry, outdated, network
Name should not start with ".", got
exception error yarn-create, validation, package-name
registryNoVersions
exception error registry, versions, resolution
unknownFolderOrTarball
exception error cli, publish, filesystem, validation
noArguments
exception error cli-args, validation, plugnplay
Invalid gist fragment $0.
validation error gist, exotic-resolver, fragment
publishPrivate
exception error cli, publish, private, safety-guard
couldntFindVersionThatMatchesRange
exception error semver, version-range, resolution
tooFewArguments
exception error cli-args, validation, plugnplay
workspaceMissingCommand
exception error cli-args, workspaces, validation
missingWhyDependency
exception error cli-args, validation
Unable to find SHA for git HEAD
exception error
unsure how to copy this
exception error
requestManagerNotSetupHAR
exception error
manifestNameIllegalChars
validation error
manifestNameBlacklisted
validation error
manifestStringExpected
validation error
couldntFindMatch
exception error
manifestNameDot
validation error
requestFailed
http error