Started by user unknown or anonymous Running as SYSTEM Building in workspace /data/jenkins/workspace/front-v5-web The recommended git tool is: NONE using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/front-v5-web/.git # timeout=10 Fetching changes from the remote Git repository > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_front/front-v5-web.git # timeout=10 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_front/front-v5-web.git > /usr/local/git/bin/git --version # timeout=10 > git --version # 'git version 2.43.0' using GIT_ASKPASS to set credentials gitlab凭据 > /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/bcx_front/front-v5-web.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10 Checking out Revision 4f283b794b424256b6b510d9f645abc17ae8190e (refs/remotes/origin/test) > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 > /usr/local/git/bin/git checkout -f 4f283b794b424256b6b510d9f645abc17ae8190e # timeout=10 Commit message: "优化保险管理模块,调整保单数据获取逻辑,修复渲染问题,完善参数传递机制,移除冗余条件判断" > /usr/local/git/bin/git rev-list --no-walk 4f283b794b424256b6b510d9f645abc17ae8190e # timeout=10 [front-v5-web] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins7090472579466503052.sh + cd /data/jenkins/workspace/front-v5-web + npm install --force npm WARN using --force Recommended protections disabled. npm WARN ERESOLVE overriding peer dependency npm WARN Found: react@16.14.0 npm WARN node_modules/react npm WARN react@"^16.2.0" from the root project npm WARN 16 more (echarts-for-react, enzyme-adapter-utils, ...) npm WARN npm WARN Could not resolve dependency: npm WARN peer react@"^15.0.0" from react-fittext@1.0.0 npm WARN node_modules/react-fittext npm WARN react-fittext@"^1.0.0" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: react-dom@16.14.0 npm WARN node_modules/react-dom npm WARN react-dom@"^16.2.0" from the root project npm WARN 9 more (rc-editor-mention, rc-menu, rc-switch, ...) npm WARN npm WARN Could not resolve dependency: npm WARN peer react-dom@"^15.0.0" from react-fittext@1.0.0 npm WARN node_modules/react-fittext npm WARN react-fittext@"^1.0.0" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: webpack@3.12.0 npm WARN node_modules/webpack npm WARN dev webpack@"^3.2.0" from the root project npm WARN 4 more (af-webpack, clean-webpack-plugin, ...) npm WARN npm WARN Could not resolve dependency: npm WARN peer webpack@"^4.0.0" from uglifyjs-webpack-plugin@2.2.0 npm WARN node_modules/uglifyjs-webpack-plugin npm WARN dev uglifyjs-webpack-plugin@"^2.2.0" from the root project npm WARN deprecated osenv@0.1.5: This package is no longer supported. npm WARN deprecated @babel/plugin-proposal-json-strings@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-json-strings instead. npm WARN deprecated @babel/plugin-proposal-unicode-property-regex@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead. npm WARN deprecated kleur@2.0.2: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit for migration path(s). npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated figgy-pudding@3.5.2: This module is no longer supported. npm WARN deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported npm WARN deprecated lodash.isequal@4.5.0: This package is deprecated. Use require('node:util').isDeepStrictEqual instead. npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead npm WARN deprecated domexception@1.0.1: Use your platform's native DOMException instead npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart() npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin. npm WARN deprecated sane@2.5.2: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated @babel/plugin-proposal-optional-catch-binding@7.2.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead. npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.4.4: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead. npm WARN deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.4.4: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead. npm WARN deprecated @babel/plugin-proposal-export-namespace-from@7.2.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-export-namespace-from instead. npm WARN deprecated lodash.get@4.4.2: This package is deprecated. Use the optional chaining (?.) operator instead. npm WARN deprecated @babel/plugin-proposal-class-properties@7.4.4: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. npm WARN deprecated acorn-dynamic-import@2.0.2: This is probably built in to whatever tool you're using. If you still need it... idk npm WARN deprecated @babel/plugin-proposal-optional-chaining@7.2.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead. npm WARN deprecated @babel/plugin-proposal-async-generator-functions@7.2.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0 npm WARN deprecated trim@0.0.1: Use String.prototype.trim() instead npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410 npm WARN deprecated flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash. npm WARN deprecated rc-drawer-menu@1.1.0: rc-drawer-menu is deprecated, please use rc-drawer instead. npm WARN deprecated @babel/polyfill@7.12.1: 🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information. npm WARN deprecated airbnb-prop-types@2.16.0: This package has been renamed to 'prop-types-tools' npm WARN deprecated eslint@4.19.1: This version is no longer supported. Please see https://eslint.org/version-support for other options. npm WARN deprecated core-js@1.2.7: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. npm ERR! code 1 npm ERR! path /data/jenkins/workspace/front-v5-web/node_modules/husky npm ERR! command failed npm ERR! command sh -c node ./bin/install.js npm ERR! node:internal/modules/cjs/loader:943 npm ERR! throw err; npm ERR! ^ npm ERR! npm ERR! Error: Cannot find module 'strip-indent' npm ERR! Require stack: npm ERR! - /data/jenkins/workspace/front-v5-web/node_modules/husky/src/utils/get-hook-script.js npm ERR! - /data/jenkins/workspace/front-v5-web/node_modules/husky/src/install.js npm ERR! - /data/jenkins/workspace/front-v5-web/node_modules/husky/bin/install.js npm ERR! at Function.Module._resolveFilename (node:internal/modules/cjs/loader:940:15) npm ERR! at Function.Module._load (node:internal/modules/cjs/loader:773:27) npm ERR! at Module.require (node:internal/modules/cjs/loader:1012:19) npm ERR! at require (node:internal/modules/cjs/helpers:93:18) npm ERR! at Object. (/data/jenkins/workspace/front-v5-web/node_modules/husky/src/utils/get-hook-script.js:4:21) npm ERR! at Module._compile (node:internal/modules/cjs/loader:1108:14) npm ERR! at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10) npm ERR! at Module.load (node:internal/modules/cjs/loader:988:32) npm ERR! at Function.Module._load (node:internal/modules/cjs/loader:828:14) npm ERR! at Module.require (node:internal/modules/cjs/loader:1012:19) { npm ERR! code: 'MODULE_NOT_FOUND', npm ERR! requireStack: [ npm ERR! '/data/jenkins/workspace/front-v5-web/node_modules/husky/src/utils/get-hook-script.js', npm ERR! '/data/jenkins/workspace/front-v5-web/node_modules/husky/src/install.js', npm ERR! '/data/jenkins/workspace/front-v5-web/node_modules/husky/bin/install.js' npm ERR! ] npm ERR! } npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2025-08-21T06_04_54_568Z-debug.log Build step 'Execute shell' marked build as failure Finished: FAILURE