simple 13-Apr-2023 18:04:20 Build React Components - React Components Build - Default Job #619 (REACT-RC-JOB1-619) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4 simple 13-Apr-2023 18:04:20 Remote agent on host yu.openmrs.org simple 13-Apr-2023 18:04:20 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1 simple 13-Apr-2023 18:04:20 Executing build React Components - React Components Build - Default Job #619 (REACT-RC-JOB1-619) simple 13-Apr-2023 18:04:20 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 13-Apr-2023 18:04:20 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1 simple 13-Apr-2023 18:04:20 Updating source code to revision: 0a739855da0262b6cb79f7e27ae5ff62932232f4 simple 13-Apr-2023 18:04:20 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/_git-repositories-cache/727f961926230516d5f69d81c692072a965b884d/.git'. simple 13-Apr-2023 18:04:20 hint: Using 'master' as the name for the initial branch. This default branch name simple 13-Apr-2023 18:04:20 hint: is subject to change. To configure the initial branch name to use in all simple 13-Apr-2023 18:04:20 hint: of your new repositories, which will suppress this warning, call: simple 13-Apr-2023 18:04:20 hint: simple 13-Apr-2023 18:04:20 hint: git config --global init.defaultBranch simple 13-Apr-2023 18:04:20 hint: simple 13-Apr-2023 18:04:20 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 13-Apr-2023 18:04:20 hint: 'development'. The just-created branch can be renamed via this command: simple 13-Apr-2023 18:04:20 hint: simple 13-Apr-2023 18:04:20 hint: git branch -m simple 13-Apr-2023 18:04:20 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/_git-repositories-cache/727f961926230516d5f69d81c692072a965b884d/.git/ simple 13-Apr-2023 18:04:20 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-react-components.git'. simple 13-Apr-2023 18:04:21 From https://github.com/openmrs/openmrs-react-components simple 13-Apr-2023 18:04:21 * [new branch] master -> master simple 13-Apr-2023 18:04:21 * [new tag] 1.0.0 -> 1.0.0 simple 13-Apr-2023 18:04:21 * [new tag] 1.1.0 -> 1.1.0 simple 13-Apr-2023 18:04:21 * [new tag] 1.2.0 -> 1.2.0 simple 13-Apr-2023 18:04:21 * [new tag] 1.3.0 -> 1.3.0 simple 13-Apr-2023 18:04:21 Checking out revision 0a739855da0262b6cb79f7e27ae5ff62932232f4. simple 13-Apr-2023 18:04:21 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/.git'. simple 13-Apr-2023 18:04:21 Cloning into '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1'... simple 13-Apr-2023 18:04:21 done. simple 13-Apr-2023 18:04:21 Already on 'master' simple 13-Apr-2023 18:04:21 Your branch is up to date with 'origin/master'. simple 13-Apr-2023 18:04:21 Updated source code to revision: 0a739855da0262b6cb79f7e27ae5ff62932232f4 simple 13-Apr-2023 18:04:21 Finished task 'Checkout Default Repository' with result: Success simple 13-Apr-2023 18:04:21 Running pre-build action: Build Log Labeller Pre Build Action simple 13-Apr-2023 18:04:21 Running pre-build action: VCS Version Collector simple 13-Apr-2023 18:04:21 Running pre-build action: Run Predator simple 13-Apr-2023 18:04:21 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 13-Apr-2023 18:04:21 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 13-Apr-2023 18:04:21 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 13-Apr-2023 18:04:21 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 13-Apr-2023 18:04:21 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 25959 java 1503 bamboo-age 2974Mb 456Mb 00:12:15 /usr/lib/jvm/java-8-ope simple 13-Apr-2023 18:04:21 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1503 wrapper 1 bamboo-age 16Mb 3Mb 00:05:01 /home/bamboo-agent/bamb simple 13-Apr-2023 18:04:21 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:00:25 /sbin/init simple 13-Apr-2023 18:04:21 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 13-Apr-2023 18:04:21 [PredatorPreBuildAction] Initial free space: 3.0641098 GB simple 13-Apr-2023 18:04:21 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-JOB1 simple 13-Apr-2023 18:04:21 [PredatorPreBuildAction] Deleting 9 snapshot folders from /home/bamboo-agent/.m2/repository simple 13-Apr-2023 18:04:21 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 13-Apr-2023 18:04:22 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 13-Apr-2023 18:04:22 [PredatorPreBuildAction] Maven stable disk freed: 0.57537323 GB, deleted 52 files simple 13-Apr-2023 18:04:22 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 13-Apr-2023 18:04:22 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 13-Apr-2023 18:04:22 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 13-Apr-2023 18:04:22 [PredatorPreBuildAction] Final free space: 3.1008797 GB simple 13-Apr-2023 18:04:22 [PredatorPreBuildAction] Done simple 13-Apr-2023 18:04:22 Starting task 'NPM Install' of type 'com.atlassian.bamboo.plugins.bamboo-nodejs-plugin:task.builder.npm' command 13-Apr-2023 18:04:22 Beginning to execute external process for build 'React Components - React Components Build - Default Job #619 (REACT-RC-JOB1-619)'\n ... running command line: \n/data/.nvm/versions/node/v16.18.0/bin/node /data/.nvm/versions/node/v16.18.0/bin/npm install\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1\n error 13-Apr-2023 18:04:25 npm WARN old lockfile error 13-Apr-2023 18:04:25 npm WARN old lockfile The package-lock.json file was created with an old version of npm, error 13-Apr-2023 18:04:25 npm WARN old lockfile so supplemental metadata must be fetched from the registry. error 13-Apr-2023 18:04:25 npm WARN old lockfile error 13-Apr-2023 18:04:25 npm WARN old lockfile This is a one-time fix-up, please be patient... error 13-Apr-2023 18:04:25 npm WARN old lockfile error 13-Apr-2023 18:05:22 npm WARN deprecated domelementtype@1.3.0: update to domelementtype@1.3.1 error 13-Apr-2023 18:05:23 npm WARN deprecated flatten@1.0.2: flatten is deprecated in favor of utility frameworks such as lodash. error 13-Apr-2023 18:05:23 npm WARN deprecated babel-preset-es2015@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update! error 13-Apr-2023 18:05:23 npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated error 13-Apr-2023 18:05:23 npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated error 13-Apr-2023 18:05:23 npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. error 13-Apr-2023 18:05:23 npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. error 13-Apr-2023 18:05:23 npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. error 13-Apr-2023 18:05:23 npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. error 13-Apr-2023 18:05:23 npm WARN deprecated chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. error 13-Apr-2023 18:05:23 npm WARN deprecated source-map-url@0.4.0: See https://github.com/lydell/source-map-url#deprecated error 13-Apr-2023 18:05:23 npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor. error 13-Apr-2023 18:05:24 npm WARN deprecated debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) error 13-Apr-2023 18:05:24 npm WARN deprecated debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) error 13-Apr-2023 18:05:24 npm WARN deprecated debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) error 13-Apr-2023 18:05:24 npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) error 13-Apr-2023 18:05:24 npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) error 13-Apr-2023 18:05:24 npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) error 13-Apr-2023 18:05:24 npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies error 13-Apr-2023 18:05:24 npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. error 13-Apr-2023 18:05:24 npm WARN deprecated w3c-hr-time@1.0.1: Use your platform's native performance.now() and performance.timeOrigin. error 13-Apr-2023 18:05:24 npm WARN deprecated trim@0.0.1: Use String.prototype.trim() instead error 13-Apr-2023 18:05:24 npm WARN deprecated set-value@2.0.0: Critical bug fixed in v3.0.1, please upgrade to the latest version. error 13-Apr-2023 18:05:24 npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) error 13-Apr-2023 18:05:24 npm WARN deprecated request-promise-native@1.0.5: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 error 13-Apr-2023 18:05:25 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 error 13-Apr-2023 18:05:25 npm WARN deprecated sane@2.5.2: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added error 13-Apr-2023 18:05:25 npm WARN deprecated samsam@1.3.0: This package has been deprecated in favour of @sinonjs/samsam error 13-Apr-2023 18:05:25 npm WARN deprecated uuid@3.3.2: 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. error 13-Apr-2023 18:05:25 npm WARN deprecated source-map-resolve@0.5.2: See https://github.com/lydell/source-map-resolve#deprecated error 13-Apr-2023 18:05:26 npm WARN deprecated request@2.87.0: request has been deprecated, see https://github.com/request/request/issues/3142 error 13-Apr-2023 18:05:26 npm WARN deprecated mixin-deep@1.3.1: Critical bug fixed in v2.0.1, please upgrade to the latest version. error 13-Apr-2023 18:05:26 npm WARN deprecated text-encoding@0.6.4: no longer maintained error 13-Apr-2023 18:05:26 npm WARN deprecated nomnom@1.6.2: Package no longer supported. Contact support@npmjs.com for more info. error 13-Apr-2023 18:05:27 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). error 13-Apr-2023 18:05:27 npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart() error 13-Apr-2023 18:05:27 npm WARN deprecated buffer@4.9.1: This version of 'buffer' is out-of-date. You must update to v4.9.2 or newer error 13-Apr-2023 18:05:27 npm WARN deprecated postcss-cssnext@2.11.0: 'postcss-cssnext' has been deprecated in favor of 'postcss-preset-env'. Read more at https://moox.io/blog/deprecating-cssnext/ error 13-Apr-2023 18:05:27 npm WARN deprecated istanbul-lib-hook@1.2.1: 1.2.0 should have been a major version bump error 13-Apr-2023 18:05:27 npm WARN deprecated ini@1.3.5: Please update to ini >=1.3.6 to avoid a prototype pollution issue error 13-Apr-2023 18:05:27 npm WARN deprecated har-validator@5.0.3: this library is no longer supported error 13-Apr-2023 18:05:28 npm WARN deprecated eslint-loader@2.1.0: This loader has been deprecated. Please use eslint-webpack-plugin error 13-Apr-2023 18:05:28 npm WARN deprecated svgo@0.7.2: This SVGO version is no longer supported. Upgrade to v2.x.x. error 13-Apr-2023 18:05:29 npm WARN deprecated intl-messageformat-parser@1.4.0: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser error 13-Apr-2023 18:05:29 npm WARN deprecated acorn-dynamic-import@3.0.0: This is probably built in to whatever tool you're using. If you still need it... idk error 13-Apr-2023 18:05:29 npm WARN deprecated babel-eslint@8.2.6: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. error 13-Apr-2023 18:05:30 npm WARN deprecated chokidar@2.0.4: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies error 13-Apr-2023 18:05:30 npm WARN deprecated chokidar@2.0.4: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies error 13-Apr-2023 18:05:30 npm WARN deprecated set-value@0.4.3: Critical bug fixed in v3.0.1, please upgrade to the latest version. error 13-Apr-2023 18:05:31 npm WARN deprecated har-validator@5.1.3: this library is no longer supported error 13-Apr-2023 18:05:32 npm WARN deprecated chokidar@2.0.4: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies error 13-Apr-2023 18:05:33 npm WARN deprecated popper.js@1.14.6: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1 error 13-Apr-2023 18:05:34 npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3 error 13-Apr-2023 18:05:34 npm WARN deprecated uglify-es@3.3.9: support for ECMAScript is superseded by `uglify-js` as of v3.13.0 error 13-Apr-2023 18:05:34 npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap. error 13-Apr-2023 18:05:34 npm WARN deprecated uglify-es@3.3.9: support for ECMAScript is superseded by `uglify-js` as of v3.13.0 error 13-Apr-2023 18:05:36 npm WARN deprecated highlight.js@9.13.1: Version no longer supported. Upgrade to @latest error 13-Apr-2023 18:05:38 npm WARN deprecated intl-relativeformat@2.1.0: This package has been deprecated, please see migration guide at 'https://github.com/formatjs/formatjs/tree/master/packages/intl-relativeformat#migration-guide' error 13-Apr-2023 18:05:39 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. error 13-Apr-2023 18:05:42 npm WARN deprecated core-js@2.5.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. error 13-Apr-2023 18:05:42 npm WARN deprecated core-js@2.5.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. error 13-Apr-2023 18:05:42 npm WARN deprecated core-js@2.5.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. error 13-Apr-2023 18:05:42 npm WARN deprecated core-js@2.5.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. error 13-Apr-2023 18:05:42 npm WARN deprecated ag-grid@18.1.2: ag-grid is now deprecated - please use @ag-grid-community/all-modules. See www.ag-grid.com/javascript-grid-modules/ for more information. error 13-Apr-2023 18:05:54 npm ERR! code 1 error 13-Apr-2023 18:05:54 npm ERR! path /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/node-sass error 13-Apr-2023 18:05:54 npm ERR! command failed error 13-Apr-2023 18:05:54 npm ERR! command sh -c -- node scripts/build.js error 13-Apr-2023 18:05:54 npm ERR! Building: /data/.nvm/versions/node/v16.18.0/bin/node /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library= error 13-Apr-2023 18:05:54 npm ERR! gyp info it worked if it ends with ok error 13-Apr-2023 18:05:54 npm ERR! gyp verb cli [ error 13-Apr-2023 18:05:54 npm ERR! gyp verb cli '/data/.nvm/versions/node/v16.18.0/bin/node', error 13-Apr-2023 18:05:54 npm ERR! gyp verb cli '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/node-gyp/bin/node-gyp.js', error 13-Apr-2023 18:05:54 npm ERR! gyp verb cli 'rebuild', error 13-Apr-2023 18:05:54 npm ERR! gyp verb cli '--verbose', error 13-Apr-2023 18:05:54 npm ERR! gyp verb cli '--libsass_ext=', error 13-Apr-2023 18:05:54 npm ERR! gyp verb cli '--libsass_cflags=', error 13-Apr-2023 18:05:54 npm ERR! gyp verb cli '--libsass_ldflags=', error 13-Apr-2023 18:05:54 npm ERR! gyp verb cli '--libsass_library=' error 13-Apr-2023 18:05:54 npm ERR! gyp verb cli ] error 13-Apr-2023 18:05:54 npm ERR! gyp info using node-gyp@3.8.0 error 13-Apr-2023 18:05:54 npm ERR! gyp info using node@16.18.0 | linux | x64 error 13-Apr-2023 18:05:54 npm ERR! gyp verb command rebuild [] error 13-Apr-2023 18:05:54 npm ERR! gyp verb command clean [] error 13-Apr-2023 18:05:54 npm ERR! gyp verb clean removing "build" directory error 13-Apr-2023 18:05:54 npm ERR! gyp verb command configure [] error 13-Apr-2023 18:05:54 npm ERR! gyp verb check python checking for Python executable "python2" in the PATH error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed Error: not found: python2 error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at getNotFoundError (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/which/which.js:13:12) error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at F (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/which/which.js:68:19) error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at E (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/which/which.js:80:29) error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/which/which.js:89:16 error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/isexe/index.js:42:5 error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/isexe/mode.js:8:5 error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:202:21) error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed python2 Error: not found: python2 error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at getNotFoundError (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/which/which.js:13:12) error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at F (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/which/which.js:68:19) error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at E (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/which/which.js:80:29) error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/which/which.js:89:16 error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/isexe/index.js:42:5 error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/isexe/mode.js:8:5 error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:202:21) { error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed code: 'ENOENT' error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed } error 13-Apr-2023 18:05:54 npm ERR! gyp verb check python checking for Python executable "python" in the PATH error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed Error: not found: python error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at getNotFoundError (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/which/which.js:13:12) error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at F (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/which/which.js:68:19) error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at E (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/which/which.js:80:29) error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/which/which.js:89:16 error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/isexe/index.js:42:5 error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/isexe/mode.js:8:5 error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:202:21) error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed python Error: not found: python error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at getNotFoundError (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/which/which.js:13:12) error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at F (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/which/which.js:68:19) error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at E (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/which/which.js:80:29) error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/which/which.js:89:16 error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/isexe/index.js:42:5 error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/isexe/mode.js:8:5 error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:202:21) { error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed code: 'ENOENT' error 13-Apr-2023 18:05:54 npm ERR! gyp verb `which` failed } error 13-Apr-2023 18:05:54 npm ERR! gyp ERR! configure error error 13-Apr-2023 18:05:54 npm ERR! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. error 13-Apr-2023 18:05:54 npm ERR! gyp ERR! stack at PythonFinder.failNoPython (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/node-gyp/lib/configure.js:484:19) error 13-Apr-2023 18:05:54 npm ERR! gyp ERR! stack at PythonFinder. (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/node-gyp/lib/configure.js:406:16) error 13-Apr-2023 18:05:54 npm ERR! gyp ERR! stack at F (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/which/which.js:68:16) error 13-Apr-2023 18:05:54 npm ERR! gyp ERR! stack at E (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/which/which.js:80:29) error 13-Apr-2023 18:05:54 npm ERR! gyp ERR! stack at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/which/which.js:89:16 error 13-Apr-2023 18:05:54 npm ERR! gyp ERR! stack at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/isexe/index.js:42:5 error 13-Apr-2023 18:05:54 npm ERR! gyp ERR! stack at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/isexe/mode.js:8:5 error 13-Apr-2023 18:05:54 npm ERR! gyp ERR! stack at FSReqCallback.oncomplete (node:fs:202:21) error 13-Apr-2023 18:05:54 npm ERR! gyp ERR! System Linux 5.15.0-69-generic error 13-Apr-2023 18:05:54 npm ERR! gyp ERR! command "/data/.nvm/versions/node/v16.18.0/bin/node" "/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" error 13-Apr-2023 18:05:54 npm ERR! gyp ERR! cwd /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REACT-RC-JOB1/node_modules/node-sass error 13-Apr-2023 18:05:54 npm ERR! gyp ERR! node -v v16.18.0 error 13-Apr-2023 18:05:54 npm ERR! gyp ERR! node-gyp -v v3.8.0 error 13-Apr-2023 18:05:54 npm ERR! gyp ERR! not ok error 13-Apr-2023 18:05:54 npm ERR! Build failed with error code: 1 error 13-Apr-2023 18:05:54 error 13-Apr-2023 18:05:54 npm ERR! A complete log of this run can be found in: error 13-Apr-2023 18:05:54 npm ERR! /home/bamboo-agent/.npm/_logs/2023-04-13T18_04_23_298Z-debug-0.log simple 13-Apr-2023 18:05:54 Failing task since return code of [/data/.nvm/versions/node/v16.18.0/bin/node /data/.nvm/versions/node/v16.18.0/bin/npm install] was 1 while expected 0 simple 13-Apr-2023 18:05:54 Finished task 'NPM Install' with result: Failed simple 13-Apr-2023 18:05:54 Running post build plugin 'Docker Container Cleanup' simple 13-Apr-2023 18:05:54 Running post build plugin 'NCover Results Collector' simple 13-Apr-2023 18:05:54 Running post build plugin 'Build Results Label Collector' simple 13-Apr-2023 18:05:54 Running post build plugin 'Clover Results Collector' simple 13-Apr-2023 18:05:54 Running post build plugin 'npm Cache Cleanup' simple 13-Apr-2023 18:05:54 Running post build plugin 'Artifact Copier' simple 13-Apr-2023 18:05:54 Finalising the build... simple 13-Apr-2023 18:05:54 Stopping timer. simple 13-Apr-2023 18:05:54 Build REACT-RC-JOB1-619 completed. simple 13-Apr-2023 18:05:54 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 13-Apr-2023 18:05:54 Running on server: post build plugin 'NCover Results Collector' simple 13-Apr-2023 18:05:54 Running on server: post build plugin 'Build Labeller' simple 13-Apr-2023 18:05:54 Running on server: post build plugin 'Clover Delta Calculator' simple 13-Apr-2023 18:05:54 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 13-Apr-2023 18:05:54 All post build plugins have finished simple 13-Apr-2023 18:05:54 Generating build results summary... simple 13-Apr-2023 18:05:54 Saving build results to disk... simple 13-Apr-2023 18:05:54 Store variable context... simple 13-Apr-2023 18:05:54 Finished building REACT-RC-JOB1-619.