-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
Describe the bug
Starting from 2.5.1, etherpad-lite/package.json includes a packageManager field, which locks
pnpm to version 10.18.0:
"packageManager": "[email protected]"
However, at least in debian12 / arm64, the default pnpm version that is installed is 10.18.3.
This gives an error when trying to install etherpad 2.5.1 from scratch.
To overcome this issue I had to downgrade pnpm to 10.18.0.
To Reproduce
Steps to reproduce the behavior:
- Install pnpm 10.18.3 (latest version)
- Try to install etherpad from scratch following the README procedure for Linux
- See error
Expected behavior
I would expect that etherpad be locked to 10.18.* so that it can benefit from at least patch upgrades, potentially minor upgrades, which often fix bugs and security issues and are allegedly backwards compatible.
Server (please complete the following information):
- Etherpad version: 2.5.1
- OS: Debian 12.2 / aarch64
- Node.js version (
node --version
): v22.20.0 - npm version (
npm --version
): 10.18.3 - Is the server free of plugins: this was for an install from scratch and part of the process included installing the ep_ldapauth plugin. This plugin has no declared dependency with pnpm in its package.json. The pnpm dependency failure didn't let us reach the plugin install stage.
Additional context
I don't know what would be the best solution to make sure the install will work when pnpm has been upgraded to a new minor or patch version. The packageManager syntax doesn't seem to allow for that.
Here's more context from a related issue I found in the pnpm repository: