Verify latest release
pnpm version
No response
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
-
Have a package.json with
"devEngines": {
"packageManager": {
"name": "pnpm",
"version": "11.4.0+sha512.f0febc7e37552ab485494a914241b338e0b3580b93d54ce31f00933015880863129038a1b4ae4e414a0ee63ac35bf21197e990172c4a68256450b5636310968f"
}
},
"packageManager": "pnpm@11.4.0+sha512.f0febc7e37552ab485494a914241b338e0b3580b93d54ce31f00933015880863129038a1b4ae4e414a0ee63ac35bf21197e990172c4a68256450b5636310968f"
i.e. both pnpm versions are virtually identical and the hash form is used (without the hash form, the issue doesn't happen)
-
Run pnpm --version
Describe the Bug
The warning Cannot use both "packageManager" and "devEngines.packageManager" in package.json. "packageManager" will be ignored is logged.
Expected Behavior
The warning Cannot use both "packageManager" and "devEngines.packageManager" in package.json. "packageManager" will be ignored is not logged (as per #11307).
Which Node.js version are you using?
24.16.0
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
No response
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
Have a package.json with
i.e. both pnpm versions are virtually identical and the hash form is used (without the hash form, the issue doesn't happen)
Run
pnpm --versionDescribe the Bug
The warning
Cannot use both "packageManager" and "devEngines.packageManager" in package.json. "packageManager" will be ignoredis logged.Expected Behavior
The warning
Cannot use both "packageManager" and "devEngines.packageManager" in package.json. "packageManager" will be ignoredis not logged (as per #11307).Which Node.js version are you using?
24.16.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response