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.
This commit is contained in:
Vendored
+1
-1
@@ -3,7 +3,7 @@ pipeline {
|
||||
stages {
|
||||
stage('Gradle') {
|
||||
steps {
|
||||
sh 'npm install'
|
||||
sh 'npm install --force --legacy-peer-dep'
|
||||
sh 'npm run build'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user