From 49aede57b2755d8a442ccecfc6239bb07783728d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sim=C3=B3=20Albert=20i=20Beltran?= Date: Sat, 15 Jan 2022 05:03:48 +0100 Subject: [PATCH] Fix etherpad plugins installation isard-apps-etherpad | [2022-01-15 05:04:23.738] [ERROR] runCmd|npm - npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it! --- docker/etherpad/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/etherpad/entrypoint.sh b/docker/etherpad/entrypoint.sh index 38e487b..936a730 100755 --- a/docker/etherpad/entrypoint.sh +++ b/docker/etherpad/entrypoint.sh @@ -92,7 +92,7 @@ if [ $ETHERPAD_PLUGINS ]; then IFS=',' read -r -a PLUGIN_LIST <<< "$ETHERPAD_PLUGINS" for PLUGIN in "${PLUGIN_LIST[@]}" do - npm install ${PLUGIN} + ./src/node_modules/.bin/npm install ${PLUGIN} done fi