diff --git a/scripts/deploy-new-stable-version.sh b/scripts/deploy-new-stable-version.sh
index 18a5f53fa838f07309e5bb9b776f44906fae25e5..acd2b31660b710028a90890d466c31aa882c6c9a 100755
--- a/scripts/deploy-new-stable-version.sh
+++ b/scripts/deploy-new-stable-version.sh
@@ -79,6 +79,7 @@ cd ..
 # 2.1 update Git repository
 git checkout master
 git pull --rebase
+rm -rf jalhyd/node_modules
 npm install
 if [ ! -z "$(git status --untracked-files=no --porcelain)" ]
 then
@@ -106,6 +107,6 @@ git push --tags --force
 
 echo
 echo "N'oubliez pas de modifier le numéro de version dans le document https://doi.org/10.15454/TLO5LX"
-echo 
+echo
 
 echo "Tagging done, Gitlab CI/CD should take care of the rest."