Verify latest release
pnpm version
v10, v11
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/OpportunityLiu/pnpm-action-11/actions/runs/25774892800
Reproduction steps
Checkout and install a project with configDependencies on Windows with default Git config. pnpm-lock.yaml will have CRLF line ending.
pnpm will report ERR_PNPM_BROKEN_LOCKFILE or outdated lockfile.
Describe the Bug
pnpm failed to parse pnpm-lock.yaml with configDependencies and CRLF line ending.
pnpm 11:
pnpm 10:
Expected Behavior
Can install correctly.
Which Node.js version are you using?
22.22.2
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response
Verify latest release
pnpm version
v10, v11
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/OpportunityLiu/pnpm-action-11/actions/runs/25774892800
Reproduction steps
Checkout and install a project with
configDependencieson Windows with default Git config.pnpm-lock.yamlwill have CRLF line ending.pnpm will report
ERR_PNPM_BROKEN_LOCKFILEor outdated lockfile.Describe the Bug
pnpm failed to parse pnpm-lock.yaml with configDependencies and CRLF line ending.
pnpm 11:
pnpm 10:
Expected Behavior
Can install correctly.
Which Node.js version are you using?
22.22.2
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response