diff --git a/bin/installDeps.sh b/bin/installDeps.sh index 50310d9a1..cac279e11 100755 --- a/bin/installDeps.sh +++ b/bin/installDeps.sh @@ -100,7 +100,7 @@ echo "Ensure that all dependencies are up to date... If this is the first time cd node_modules [ -e ep_etherpad-lite ] || ln -s ../src ep_etherpad-lite cd ep_etherpad-lite - npm install --save --loglevel warn + npm ci ) || { rm -rf src/node_modules exit 1 diff --git a/bin/installOnWindows.bat b/bin/installOnWindows.bat index 75982aaff..3c6bf58c0 100644 --- a/bin/installOnWindows.bat +++ b/bin/installOnWindows.bat @@ -14,7 +14,7 @@ cd /D node_modules mklink /D "ep_etherpad-lite" "..\src" cd /D "ep_etherpad-lite" -cmd /C npm install --loglevel warn || exit /B 1 +cmd /C npm ci || exit /B 1 cd /D "%~dp0\.."