From a8ea5c38f1ac608e11de40555097dd6ef13fc0e7 Mon Sep 17 00:00:00 2001 From: Teriuihi Date: Sun, 4 Aug 2024 23:10:42 +0200 Subject: [PATCH] Update npm install command in Jenkinsfile Forced installation of npm packages and resolved legacy peer dependency issues by adding `--force` and `--legacy-peer-dep` flags to `npm install` command. This ensures compatibility with certain package versions that may have unresolved peer dependencies. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3df1aee..590cdcc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,7 @@ pipeline { stages { stage('Gradle') { steps { - sh 'npm install' + sh 'npm install --force --legacy-peer-dep' sh 'npm run build' } }