From a9e58d86fea3d664b0efcf03e8af9f2bc1114fe9 Mon Sep 17 00:00:00 2001
From: Dorch <14124454+DDorch@users.noreply.github.com>
Date: Tue, 30 Jan 2024 08:11:09 +0000
Subject: [PATCH] fix(deploy): error -39 on nghyd npm install

---
 scripts/deploy-new-stable-version.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/deploy-new-stable-version.sh b/scripts/deploy-new-stable-version.sh
index 18a5f53fa..acd2b3166 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."
-- 
GitLab