From 5fcfbf1557b7e1b4f85193a50778481f7f211e79 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Thu, 11 Aug 2022 15:01:30 +0200 Subject: [PATCH] try with --legacy-peer-deps and cache verify --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index c695f716f9..442a4c55f2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -62,7 +62,8 @@ pipeline { sh 'echo "registry=https://nexus.ozg-sh.de/repository/npm-proxy" >> ~/.npmrc' sh 'echo "_auth=amVua2luczpQaihzX0ZNNFU5ZC8=" >> ~/.npmrc' - sh 'npm install --no-optional --force' + sh 'npm cache verify' + sh 'npm install --no-optional --legacy-peer-deps' if (env.BRANCH_NAME == 'release') { sh 'npm run ci-prodBuild' -- GitLab