Repository navigation
Description
Continuing the pass that produced #2 and #3, this one covers every open issue created in 2023: 426 in total, from pnpm/pnpm#5864 (2023-01-01) to pnpm/pnpm#7471 (2023-12-31). Each was reproduced against pnpm 12.5.1 on Linux, and against pnpm 11.27.0 wherever the two versions disagree.
299 of them were closed, each with a comment saying why. The recurring reasons: pnpm link --global, the store server, useNodeVersion, ignoreDepScripts and the Node.js-based CLI itself are gone; catalogs, pnpm deploy with its own lockfile, publishConfig.registry, --depth on pnpm update, the reporter setting, provenance on publish and the native installer all landed; a long list of resolution, linking and performance reports no longer reproduces; and a long tail has no reproduction that survives.
This issue tracks the 127 that survived.
Bugs that still reproduce
Confirmed by running the reproduction on pnpm 12.5.1.
- Pnpm is downloading optional dependencies pnpm#5928 Pnpm is downloading optional dependencies
Reproduced on pnpm 12.5.1:pnpm install --no-optionalstill downloads the optional dependency into the store. Same root cause as 881. - The "Add" command applied to a specific version inappropriately renames the existing one in the package.json pnpm#6040 The "Add" command applied to a specific version inappropriately renames the existing one in the package.json
Reproduced on pnpm 12.5.1:pnpm add [email protected]writes1.0.0into a fresh manifest but^1.0.0when an entry with a range already exists, so the exact version the user asked for is only honored sometimes. - support turborepo when using dependenciesMeta.*. injected (make injected deps re-sync) pnpm#6088 support turborepo when using dependenciesMeta.*. injected (make injected deps re-sync)
Duplicate of 4407. An injected copy is not re-synced when the source project is rebuilt. - [pnpm env rm] Broken hardcoded link to node instance after
pnpm env removepnpm#6122 [pnpm env rm] Broken hardcoded link to node instance afterpnpm env remove
pnpm env removeleaves a dangling link to the removed Node.js installation. - Running
pnpm installwith--forceflag also installsoptionalDependencieswhich don't match OS in use pnpm#6133 Runningpnpm installwith--forceflag also installsoptionalDependencieswhich don't match OS in use
Reproduced on pnpm 12.5.1:pnpm install --forceinstalls an optionalDependency whoseosandcpudo not match the current platform, which a normal install correctly skips. - "Cannot find module 'vite'" when custom modules-dir is set pnpm#6161 "Cannot find module 'vite'" when custom modules-dir is set
Duplicate of 3604. With a custommodulesDir, pnpm's own script PATH still points at node_modules/.bin. - There will be problems when a package is injected into multiple apps at the same time (dependenciesmeta.*.injected) pnpm#6196 There will be problems when a package is injected into multiple apps at the same time (dependenciesmeta.*.injected)
Related to 4407. Injecting one workspace package into several consumers keeps copies that are not re-synced when the source changes. - Wrong peers when using dedupe-peer-dependents pnpm#6200 Wrong peers when using dedupe-peer-dependents
dedupePeerDependentsresolves the wrong peer for some dependents. - Resolve default patch path with
pnpm patch-commit <pkg>pnpm#6206 Resolve default patch path withpnpm patch-commit <pkg>
Reproduced on pnpm 12.5.1:pnpm patch-commit <pkg>@<version>treats the argument as a path and fails. Only the directorypnpm patchprinted is accepted. - PNPM Pack does not respect existing file permissions pnpm#6285 PNPM Pack does not respect existing file permissions
Verified on pnpm 12.5.1:pnpm packwrites every file in the tarball with mode 0644, so an executable file listed inbinorfilesloses its executable bit. - 7.30.0 Interactive Update Broken:
pnpm up -r --workspace --interactiveon selection leads tonot found in the workspacepnpm#6352 7.30.0 Interactive Update Broken:pnpm up -r --workspace --interactiveon selection leads tonot found in the workspace
Verified on pnpm 12.5.1:pnpm up -r --workspace <pkg>fails with ERR_PNPM_WORKSPACE_PACKAGE_NOT_FOUND when the dependency is not a workspace package, which is what breaks the interactive update. - + pnpm install ERR_PNPM_INVALID_OVERRIDE_SELECTOR pnpm#6356 + pnpm install ERR_PNPM_INVALID_OVERRIDE_SELECTOR
Verified on pnpm 12.5.1: an override selector with leading or trailing whitespace is rejected with ERR_PNPM_INVALID_OVERRIDE_SELECTOR instead of being trimmed. - pnpm up --save-exact doesn't work pnpm#6398 pnpm up --save-exact doesn't work
Verified on pnpm 12.5.1:pnpm up --save-exactandpnpm add --save-exactkeep the range prefix that package.json already had, so the dependency is not pinned. - Pnpm link behavior is broken/has changed in pnpm 8 pnpm#6439 Pnpm link behavior is broken/has changed in pnpm 8
Linking a library into an app still ends up with two copies of a peer dependency such as React, which breaks the app at runtime. - pnpm does not support semver spec on
build metadatayet? pnpm#6483 pnpm does not support semver spec onbuild metadatayet?
Verified on pnpm 12.5.1: a workspace dependency on a version carrying semver build metadata fails with ERR_PNPM_NO_MATCHING_VERSION_INSIDE_WORKSPACE, and the error lists that exact version as available. - when set 'shared-workspace-lockfile=false', workspace is not working pnpm#6529 when set 'shared-workspace-lockfile=false', workspace is not working
Verified on pnpm 12.5.1: withsharedWorkspaceLockfile: falsethe per-project lockfile records the workspace dependency as a link, but the symlink is never created in the project's node_modules. - ERR_PNPM_CANNOT_RESOLVE_WORKSPACE_PROTOCOL Cannot resolve workspace protocol of dependency "eslint-config-acme2" because this dependency is not installed. Try running "pnpm install". pnpm#6567 ERR_PNPM_CANNOT_RESOLVE_WORKSPACE_PROTOCOL Cannot resolve workspace protocol of dependency "eslint-config-acme2" because this dependency is not installed. Try running "pnpm install".
Verified on pnpm 12.5.1:pnpm -r publishfails with ERR_PNPM_CANNOT_RESOLVE_WORKSPACE_PROTOCOL when node_modules is absent, although the version it needs is in the workspace project's own manifest. - pnpm workspace mode not support sub-package symlink pnpm#6580 pnpm workspace mode not support sub-package symlink
Verified on pnpm 12.5.1: a workspace package directory that is a symlink is not picked up by thepackagesglobs, so the project is silently skipped. - package.json comments convention in resolutions breaks pnpm pnpm#6618 package.json comments convention in resolutions breaks pnpm
Verified on pnpm 12.5.1: a"//"comment key in overrides fails the install with ERR_PNPM_INVALID_OVERRIDES_SELECTOR instead of being ignored. - pnpm install on a CI will silently chmod +x workspace bins, failing e.g. CI publish pnpm#6646 pnpm install on a CI will silently chmod +x workspace bins, failing e.g. CI publish
Verified on pnpm 12.5.1:pnpm installchanges a workspace package's bin file from mode 644 to 755 without saying so, which dirties the working tree on CI. - pnpm does not resolve transitive dependencies to workspace links when using prereleases pnpm#6711 pnpm does not resolve transitive dependencies to workspace links when using prereleases
Verified on pnpm 12.5.1: withlinkWorkspacePackages: deep, a transitive dependency whose range does not match the workspace project's prerelease version fails the install instead of falling back to the registry. -
pnpm upgradecreates incompatible version specifiers pnpm#6714pnpm upgradecreates incompatible version specifiers
Verified on pnpm 12.5.1:pnpm uprewrites a top-bounded range such as<= 3.0.0to^3.0.0, which allows versions the original range excluded. - v8.6.0 -> v8.6.3 breaks bzip2 tarballs pnpm#6761 v8.6.0 -> v8.6.3 breaks bzip2 tarballs
Verified on pnpm 12.5.1: installing a.tar.bz2tarball fails with ERR_PNPM_TARBALL_DECODE_GZIP. - package's change in package json using 'pnpm patch-commit' is not applied in pnpm-lock pnpm#6866 package's change in package json using 'pnpm patch-commit' is not applied in pnpm-lock
Verified on pnpm 12.5.1: removing a dependency from a patched package's package.json and runningpnpm patch-commitleaves the old dependency in the lockfile snapshot of the patched package. - pnpm import imports to top-level pnpm-lock.yaml even for non-workspace members pnpm#6892 pnpm import imports to top-level pnpm-lock.yaml even for non-workspace members
Verified on pnpm 12.5.1:pnpm importrun in a directory that is not a member of the workspace writes pnpm-lock.yaml to the workspace root instead of that directory. - Non-semver workspace root versions not considered as dependencies pnpm#6970 Non-semver workspace root versions not considered as dependencies
Verified on pnpm 12.5.1: when a project depends on a prerelease version and a dependency asks for*, a second copy at the newest stable version is installed. - pnpm exec doesn't set
$npm_execpathpnpm#7037 pnpm exec doesn't set$npm_execpath
Verified on pnpm 12.5.1:pnpm execsets neithernpm_execpathnorINIT_CWD, althoughpnpm runsets both. -
devPreinstallis run even when runningpnpm install --prodpnpm#7065devPreinstallis run even when runningpnpm install --prod
Verified on pnpm 12.5.1: thepnpm:devPreinstallscript runs duringpnpm install --prod. - pnpm deletes alias and nvm source lines in .zshrc when updating pnpm#7067 pnpm deletes alias and nvm source lines in .zshrc when updating
The install script rewrites the shell startup file and can drop lines that were there before, such as aliases and the nvm block. -
preparescript is run even whenpnpm installis invoked with options (e.g.,pnpm install --prod) pnpm#7068preparescript is run even whenpnpm installis invoked with options (e.g.,pnpm install --prod)
Verified on pnpm 12.5.1: thepreparescript runs duringpnpm install --prod. - bin from optional dependencies of a devDependencies are not linked in node_modules/.bin pnpm#7121 bin from optional dependencies of a devDependencies are not linked in node_modules/.bin
Verified on pnpm 12.5.1: the command from a package's optional dependency is not linked into that package's node_modules/.bin, so the dependency cannot run it. -
pnpm list --only-projectsdoes not work withshared-workspace-lockfile = falsepnpm#7151pnpm list --only-projectsdoes not work withshared-workspace-lockfile = false
Verified on pnpm 12.5.1: withsharedWorkspaceLockfile: false,pnpm list --only-projects --depth Infinityprints nothing, while the same workspace with a shared lockfile prints the tree. - Configuring registry in workspace .npmrc not effective for package-specific publish in PNPM pnpm#7182 Configuring registry in workspace .npmrc not effective for package-specific publish in PNPM
Verified on pnpm 12.5.1:pnpm --filter <pkg> publishpublishes to the registry from the workspace root's configuration, ignoring the registry set in that package's own .npmrc. - Incorrectly resolve secondary dependencies' version based on maximum available version in sibling workspace pnpm#7191 Incorrectly resolve secondary dependencies' version based on maximum available version in sibling workspace
Verified on pnpm 12.5.1: adding an unrelated dependency to a project re-resolves that project's existing^dependency to the version a sibling project uses, although the lockfile pinned a matching older one. - Problem with actualizing dependencies list with shared-workspace-lockfile=false pnpm#7209 Problem with actualizing dependencies list with shared-workspace-lockfile=false
Verified on pnpm 12.5.1: withsharedWorkspaceLockfile: false, adding a dependency to an injected workspace package does not update the dependent project's lockfile, and the new dependency is not installed for it. -
postinstallscripts can invalidate pnpm store pnpm#7215postinstallscripts can invalidate pnpm store
Verified on pnpm 12.5.1: after a package whose install script writes into its own directory is installed,pnpm store statusreports that package as modified in the store. - pnpm deploy runs npm scripts prepare pnpm#7282 pnpm deploy runs npm scripts prepare
Verified on pnpm 12.5.1:pnpm deployruns the deployed project'spreparescript, which fails with--prodwhen that script needs a dev dependency. -
pnpm importdoes not preserve locked versions from package-lock.json pnpm#7287pnpm importdoes not preserve locked versions from package-lock.json
Verified on pnpm 12.5.1 with the linked reproduction: package-lock.json locks debug at 4.3.3 and 4.3.4, andpnpm importwrites only 4.3.4. - Global shamefully-hoist config overriding local public-hoist-pattern config pnpm#7312 Global shamefully-hoist config overriding local public-hoist-pattern config
Verified on pnpm 12.5.1: settingshamefullyHoistto false outside the project cancels the project's ownpublicHoistPattern, so nothing is hoisted. - pnpm:devPreinstall isn't skipped when "CI" environment variable is defined pnpm#7350 pnpm:devPreinstall isn't skipped when "CI" environment variable is defined
Verified on pnpm 12.5.1:CI=1 pnpm installruns thepnpm:devPreinstallscript, which is documented to run only on a local install.
Needs a check on Windows
Reported on Windows and not reproducible on Linux. Each needs a Windows run before it is either fixed or closed.
- "pnpm add" fails on Windows if your current directory starts with lower-case "c:\" pnpm#6022 "pnpm add" fails on Windows if your current directory starts with lower-case "c:"
Duplicate of 5500. A lowercase drive letter breaks path handling on Windows. - PNPM from WinGet will cause an error when installing node pnpm#6024 PNPM from WinGet will cause an error when installing node
Installing Node.js through a WinGet-installed pnpm fails. Needs a Windows check. - pnpm install failed on WSL with mounted windows file system drive: EACCES EACCES: permission denied pnpm#6155 pnpm install failed on WSL with mounted windows file system drive: EACCES EACCES: permission denied
EACCES installing onto a Windows drive mounted in WSL. Needs a Windows or WSL check. - Windows fails when making a symbolic link, causing the operating system to seize up. pnpm#6298 Windows fails when making a symbolic link, causing the operating system to seize up.
Reported on Windows only; needs a Windows run to confirm against current pnpm. - [bug] can't handle special characters like ü pnpm#6346 [bug] can't handle special characters like ü
pnpm setuprewriting the Windows PATH corrupts non-ASCII characters in the entries it leaves in place; needs a Windows run to confirm against current pnpm. - Using standalone pnpm on windows is not possible pnpm#6503 Using standalone pnpm on windows is not possible
Needs a Windows run to confirm that the standalone executable still spawns a separate console window. - Filtering on dependencies of a scoped project in Windows/Powershell appears broken pnpm#6718 Filtering on dependencies of a scoped project in Windows/Powershell appears broken
Reported on Windows PowerShell only; needs a Windows run to confirm that a<scope>/<pkg>^...filter still selects the wrong projects. - Inconsistent copying behaviours between OSs pnpm#6870 Inconsistent copying behaviours between OSs
Needs a Windows run to confirm that a bare directory name infilesstill packs differently there than on macOS. - Error "ENOENT: no such file or directory" encountered during package version updates or adding Windows pnpm#6961 Error "ENOENT: no such file or directory" encountered during package version updates or adding Windows
Reported on Windows only; needs a Windows run to confirm that repeatedpnpm up <pkg>@<version>still fails with ENOENT. - Chinese path problem pnpm#6999 Chinese path problem
Reported on Windows with a non-ASCII user name; needs a Windows run to confirm the command shim's encoding. -
pnpm runtimedoes not use win-arm64 build pnpm#7123pnpm runtimedoes not use win-arm64 build
Needs a Windows on ARM run to confirm that the runtime pnpm downloads is still the x64 build. - Pnpm install fails with error 'an-compile' is not recognized as an internal or external command pnpm#7181 Pnpm install fails with error 'an-compile' is not recognized as an internal or external command
Reported on Windows only; needs a Windows run to confirm that a script name is still cut short when the command is spawned. - run pnpm patch-commit xx got this error EXDEV EXDEV: cross-device link not permitted pnpm#7295 run pnpm patch-commit xx got this error EXDEV EXDEV: cross-device link not permitted
Needs a Windows run to confirm thatpnpm patch-commitstill fails with EXDEV when the edit directory is on another drive.
Feature requests that are still unimplemented
Moved to #8 (feature requests need evaluation before deciding whether to implement them).
Open questions
- Workspaces: Read
pnpm.peerDependencyRulesfrom packages'package.jsons too pnpm#5972 Workspaces: Readpnpm.peerDependencyRulesfrom packages'package.jsons too
Asks forpeerDependencyRulesto be read from each project. pnpm 10 moved these settings into pnpm-workspace.yaml, deliberately workspace-wide, so this needs a decision. - Catalogs Tracking Issue pnpm#7072 Catalogs Tracking Issue
Catalogs have shipped; this tracks what is left, a command that builds a catalog from the versions a workspace already uses.
Written by an agent (Claude Code, claude-opus-5).
Activity
zkochan commentedon Sep 19, 2026
The 2024 backlog is triaged in #5.
Written by an agent (Claude Code, claude-opus-5).
zkochan commentedon Sep 19, 2026
Second pass over this list: 6 of the entries here are duplicates of older issues and have been closed, each with a comment pointing at the one that stays open:
modules-diroption is customized pnpm#3604The rest of the list is unchanged.
Written by an agent (Claude Code, claude-opus-5).
zkochan commentedon Sep 19, 2026
Priorities are set on every issue in this list: 9 at
priority: 1, 60 atpriority: 2, 51 atpriority: 3.priority: 1means a defect that breaks a command or a dependency tree on a supported version with no acceptable workaround, a file pnpm rewrites that it should not touch, a supply-chain check that can be bypassed, a regression, or a defect many people have asked about.priority: 2covers defects with a workaround or a narrow blast radius, everything specific to one operating system, and feature requests with demand behind them.priority: 3is the rest: quieter feature requests, wording and reporting papercuts, documentation and this repository's own tracking issues.The
priority: 1ones here:preparescript is run even whenpnpm installis invoked with options (e.g.,pnpm install --prod) pnpm#7068preparescript is run even whenpnpm installis invoked with options (e.g.,pnpm install --prod)Written by an agent (Claude Code, claude-opus-5).