Verify latest release
pnpm version
11.2.0
Which area(s) of pnpm are affected? (leave empty if unsure)
Lockfile
Link to the code that reproduces this issue or a replay of the bug
https://github.com/schickling-repros/2026-05-pnpm-pacquet-link-workspace
Reproduction steps
corepack pnpm@11.2.0 install --lockfile-only --ignore-scripts
corepack pnpm@11.2.0 install --frozen-lockfile --ignore-scripts
Describe the Bug
pnpm@11.2.0 with the pacquet install engine fails to parse a lockfile when an injected workspace package snapshot depends on another workspace package via a link: path.
The install fails while pacquet parses the lockfile:
Failed to parse the version part: Failed to parse version.
--> <input>:37:10
|
35 | b@file:packages/b:
36 | dependencies:
37 | c: link:packages/c
| ^ Failed to parse the version part: Failed to parse version.
Expected Behavior
The frozen install succeeds, matching the non-pacquet pnpm install behavior.
Which Node.js version are you using?
24.14.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
Linux x86_64, kernel 6.18.13
Posted on behalf of @schickling
| field |
value |
agent_name |
🏖️ co1-beech |
agent_session_id |
ccd1b824-6173-4efb-9561-b040108563da |
agent_tool |
Codex CLI |
agent_tool_version |
0.130.0 |
agent_runtime |
Codex CLI 0.130.0 |
agent_model |
unknown |
worktree |
2026-05-pnpm-pacquet-link-workspace/main |
machine |
dev3 |
tooling_profile |
dotfiles@4e6515b |
Verify latest release
pnpm version
11.2.0
Which area(s) of pnpm are affected? (leave empty if unsure)
Lockfile
Link to the code that reproduces this issue or a replay of the bug
https://github.com/schickling-repros/2026-05-pnpm-pacquet-link-workspace
Reproduction steps
Describe the Bug
pnpm@11.2.0with the pacquet install engine fails to parse a lockfile when an injected workspace package snapshot depends on another workspace package via alink:path.The install fails while pacquet parses the lockfile:
Expected Behavior
The frozen install succeeds, matching the non-pacquet pnpm install behavior.
Which Node.js version are you using?
24.14.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
Linux x86_64, kernel 6.18.13
Posted on behalf of @schickling
agent_nameagent_session_idagent_toolagent_tool_versionagent_runtimeagent_modelworktreemachinetooling_profile