Started by user DIM Build Building in workspace /var/jenkins_home/workspace/DIM-Diamant-Angular using credential jenkins_gitlab > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://gitlab.com/datainmotion/diamant/frontend.git # timeout=10 Fetching upstream changes from https://gitlab.com/datainmotion/diamant/frontend.git > git --version # timeout=10 using GIT_ASKPASS to set credentials The Gitlab user for the jenkins > git fetch --tags --progress https://gitlab.com/datainmotion/diamant/frontend.git +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/develop^{commit} # timeout=10 Checking out Revision b3708dd0703e4c76aeda76159a2bc87e6aff6cad (refs/remotes/origin/develop) > git config core.sparsecheckout # timeout=10 > git checkout -f b3708dd0703e4c76aeda76159a2bc87e6aff6cad Commit message: "keycloak theme files" > git rev-list --no-walk b3708dd0703e4c76aeda76159a2bc87e6aff6cad # timeout=10 $ /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/bin/npm install -g @angular/cli @angular-devkit/build-angular /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/bin/ng -> /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular/cli/bin/ng > core-js@2.6.9 postinstall /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular-devkit/build-angular/node_modules/babel-runtime/node_modules/core-js > node scripts/postinstall || echo "ignore" [96mThank you for using core-js ([94m https://github.com/zloirock/core-js [96m) for polyfilling JavaScript standard library![0m [96mThe project needs your help! Please consider supporting of core-js on Open Collective or Patreon: [0m [96m>[94m https://opencollective.com/core-js [0m [96m>[94m https://www.patreon.com/zloirock [0m [96mAlso, the author of core-js ([94m https://github.com/zloirock [96m) is looking for a good job -)[0m > core-js@3.2.1 postinstall /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular-devkit/build-angular/node_modules/core-js > node scripts/postinstall || echo "ignore" [96mThank you for using core-js ([94m https://github.com/zloirock/core-js [96m) for polyfilling JavaScript standard library![0m [96mThe project needs your help! Please consider supporting of core-js on Open Collective or Patreon: [0m [96m>[94m https://opencollective.com/core-js [0m [96m>[94m https://www.patreon.com/zloirock [0m [96mAlso, the author of core-js ([94m https://github.com/zloirock [96m) is looking for a good job -)[0m > @angular/cli@8.3.3 postinstall /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular/cli > node ./bin/postinstall/script.js npm WARN @angular-devkit/build-angular@0.803.3 requires a peer of @angular/compiler-cli@^8.0.0-beta.0 || ^8.1.0-beta.0 || ^8.2.0-beta.0 || ^8.3.0-beta.0 || ^8.4.0-beta.0 || >=9.0.0-beta < 9 but none is installed. You must install peer dependencies yourself. npm WARN @angular-devkit/build-angular@0.803.3 requires a peer of typescript@>=3.1 < 3.6 but none is installed. You must install peer dependencies yourself. npm WARN @ngtools/webpack@8.3.3 requires a peer of @angular/compiler-cli@^8.0.0-beta.0 || ^8.1.0-beta.0 || ^8.2.0-beta.0 || ^8.3.0-beta.0 || ^8.4.0-beta.0 || >=9.0.0-beta < 9 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/@angular-devkit/build-angular/node_modules/webpack-dev-server/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/@angular-devkit/build-angular/node_modules/watchpack/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.0.7 (node_modules/@angular-devkit/build-angular/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) + @angular/cli@8.3.3 + @angular-devkit/build-angular@0.803.3 added 868 packages from 496 contributors and updated 1 package in 32.726s [DIM-Diamant-Angular] $ /bin/sh -xe /tmp/jenkins7199038596826941256.sh + npm run build > diamant-frontend@0.0.0 build /var/jenkins_home/workspace/DIM-Diamant-Angular > ng build An unhandled exception occurred: Cannot find module '@angular/compiler-cli' Require stack: - /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular-devkit/build-angular/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js - /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular-devkit/build-angular/node_modules/@ngtools/webpack/src/index.js - /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs/typescript.js - /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs/index.js - /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular-devkit/build-angular/src/browser/index.js - /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular/cli/node_modules/@angular-devkit/architect/node/node-modules-architect-host.js - /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular/cli/node_modules/@angular-devkit/architect/node/index.js - /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular/cli/models/architect-command.js - /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular/cli/commands/build-impl.js - /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular/cli/node_modules/@angular-devkit/schematics/tools/export-ref.js - /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular/cli/node_modules/@angular-devkit/schematics/tools/index.js - /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular/cli/utilities/json-schema.js - /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular/cli/models/command-runner.js - /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular/cli/lib/cli/index.js - /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular/cli/lib/init.js - /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/lib/node_modules/@angular/cli/bin/ng See "/tmp/ng-lQ5FJS/angular-errors.log" for further details. npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file sh npm ERR! errno ENOENT npm ERR! diamant-frontend@0.0.0 build: `ng build` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the diamant-frontend@0.0.0 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! /var/jenkins_home/.npm/_logs/2019-09-06T13_06_16_817Z-debug.log Build step 'Execute shell' marked build as failure Finished: FAILURE