mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-04 14:19:13 -04:00
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:
parent
588b73f366
commit
6198e92706
9 changed files with 28 additions and 12 deletions
|
@ -28,8 +28,10 @@ _install_libreoffice: &install_libreoffice >-
|
|||
sudo apt-get update &&
|
||||
sudo apt-get -y install libreoffice libreoffice-pdfimport
|
||||
|
||||
# The --legacy-peer-deps flag is required to work around a bug in npm v7:
|
||||
# https://github.com/npm/cli/issues/2199
|
||||
_install_plugins: &install_plugins >-
|
||||
npm install --no-save
|
||||
npm install --no-save --legacy-peer-deps
|
||||
ep_align
|
||||
ep_author_hover
|
||||
ep_cursortrace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue