tests: Pass --legacy-peer-deps flag to work around npm v7 bug

This flag is unknown to npm v6, but npm v6 silently ignores unknown
flags.
This commit is contained in:
Richard Hansen 2021-02-15 19:10:55 -05:00
parent 588b73f366
commit 6198e92706
9 changed files with 28 additions and 12 deletions

View file

@ -7,8 +7,8 @@ execute its own functionality based on these events.
Publicly available plugins can be found in the npm registry (see
<https://npmjs.org>). Etherpad's naming convention for plugins is to prefix your
plugins with `ep_`. So, e.g. it's `ep_flubberworms`. Thus you can install
plugins from npm, using `npm install --no-save ep_flubberworm` in Etherpad's
root directory.
plugins from npm, using `npm install --no-save --legacy-peer-deps
ep_flubberworm` in Etherpad's root directory.
You can also browse to `http://yourEtherpadInstan.ce/admin/plugins`, which will
list all installed plugins and those available on npm. It even provides