Update Node.js to v22 (develop) #103
Open
Jenkins-Linkurious / CI/Jenkins
failed
Jan 21, 2025 in 1m 33s
Prepare: error in 'sh' step
Prepare / Shell Script
Error in sh
step, with arguments echo 'registry = https://nexus3.vpc.prod.scw-par1.linkurious.net/repository/npm/ //nexus3.vpc.prod.scw-par1.linkurious.net/repository/npm/:_auth = ${NPM_TOKEN} //nexus3.linkurious.net/repository/npm/:_auth= ${NPM_TOKEN} always-auth = true timeout = 180000' > ~/.npmrc && npm ci
.
script returned exit code 1
Build log
[2025-01-21T23:11:01.470Z] + echo registry = https://nexus3.vpc.prod.scw-par1.linkurious.net/repository/npm/
[2025-01-21T23:11:01.471Z] //nexus3.vpc.prod.scw-par1.linkurious.net/repository/npm/:_auth = ${NPM_TOKEN}
[2025-01-21T23:11:01.471Z] //nexus3.linkurious.net/repository/npm/:_auth= ${NPM_TOKEN}
[2025-01-21T23:11:01.471Z] always-auth = true
[2025-01-21T23:11:01.471Z] timeout = 180000
[2025-01-21T23:11:01.471Z] + npm ci
[2025-01-21T23:11:01.731Z] npm warn EBADENGINE Unsupported engine {
[2025-01-21T23:11:01.731Z] npm warn EBADENGINE package: '@linkurious/code-tools@0.0.14',
[2025-01-21T23:11:01.731Z] npm warn EBADENGINE required: { node: '18.14.2' },
[2025-01-21T23:11:01.731Z] npm warn EBADENGINE current: { node: 'v22.13.1', npm: '10.9.2' }
[2025-01-21T23:11:01.731Z] npm warn EBADENGINE }
[2025-01-21T23:11:03.642Z]
[2025-01-21T23:11:03.642Z] > @linkurious/ogma-build-systems@0.0.3 prepare
[2025-01-21T23:11:03.642Z] > node scripts/prepare.mjs && concurrently "npm run prepare:vite" "npm run prepare:rollup" "npm run prepare:webpack" "npm run prepare:typescript" "npm run prepare:node" "npm run prepare:parcel" && node scripts/cleanup.mjs
[2025-01-21T23:11:03.642Z]
[2025-01-21T23:11:03.642Z] Updating rollup 5.1.10
[2025-01-21T23:11:03.642Z] Updating vite 5.1.10
[2025-01-21T23:11:03.642Z] Updating webpack 5.1.10
[2025-01-21T23:11:03.642Z] Updating typescript 5.1.10
[2025-01-21T23:11:03.642Z] Updating node 5.1.10
[2025-01-21T23:11:03.642Z] Updating parcel 5.1.10
[2025-01-21T23:11:03.905Z] [0]
[2025-01-21T23:11:03.905Z] [0] > @linkurious/ogma-build-systems@0.0.3 prepare:vite
[2025-01-21T23:11:03.905Z] [0] > cd vite && npm i
[2025-01-21T23:11:03.905Z] [0]
[2025-01-21T23:11:03.905Z] [4]
[2025-01-21T23:11:03.905Z] [4] > @linkurious/ogma-build-systems@0.0.3 prepare:node
[2025-01-21T23:11:03.905Z] [4] > cd node && npm i
[2025-01-21T23:11:03.905Z] [4]
[2025-01-21T23:11:03.905Z] [1]
[2025-01-21T23:11:03.905Z] [1] > @linkurious/ogma-build-systems@0.0.3 prepare:rollup
[2025-01-21T23:11:03.905Z] [1] > cd rollup && npm i
[2025-01-21T23:11:03.905Z] [1]
[2025-01-21T23:11:03.905Z] [2]
[2025-01-21T23:11:03.905Z] [2] > @linkurious/ogma-build-systems@0.0.3 prepare:webpack
[2025-01-21T23:11:03.905Z] [2] > cd webpack && npm i
[2025-01-21T23:11:03.905Z] [2]
[2025-01-21T23:11:03.905Z] [3]
[2025-01-21T23:11:03.905Z] [3] > @linkurious/ogma-build-systems@0.0.3 prepare:typescript
[2025-01-21T23:11:03.905Z] [3] > cd typescript && npm i
[2025-01-21T23:11:03.905Z] [3]
[2025-01-21T23:11:04.194Z] [5]
[2025-01-21T23:11:04.194Z] [5] > @linkurious/ogma-build-systems@0.0.3 prepare:parcel
[2025-01-21T23:11:04.194Z] [5] > cd parcel && npm i --ignore-scripts
[2025-01-21T23:11:04.194Z] [5]
[2025-01-21T23:11:14.246Z] [4] npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
[2025-01-21T23:11:14.246Z] [4] npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
[2025-01-21T23:11:14.246Z] [4] npm warn deprecated are-we-there-yet@2.0.0: This package is no longer supported.
[2025-01-21T23:11:14.246Z] [4] npm warn deprecated npmlog@5.0.1: This package is no longer supported.
[2025-01-21T23:11:14.246Z] [4] npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
[2025-01-21T23:11:14.246Z] [4] npm warn deprecated gauge@3.0.2: This package is no longer supported.
[2025-01-21T23:11:14.246Z] [0]
[2025-01-21T23:11:14.246Z] [0] added 46 packages in 10s
[2025-01-21T23:11:14.246Z] [0]
[2025-01-21T23:11:14.246Z] [0] 6 packages are looking for funding
[2025-01-21T23:11:14.246Z] [0] run `npm fund` for details
[2025-01-21T23:11:14.246Z] [0] npm run prepare:vite exited with code 0
[2025-01-21T23:11:16.154Z] [4] npm error code 1
[2025-01-21T23:11:16.154Z] [4] npm error path /home/jenkins/agent/workspace/Ogma_ogma-build-systems_PR-103/node/node_modules/canvas
[2025-01-21T23:11:16.154Z] [4] npm error command failed
[2025-01-21T23:11:16.154Z] [4] npm error command sh -c node-pre-gyp install --fallback-to-build --update-binary
[2025-01-21T23:11:16.154Z] [4] npm error Failed to execute '/home/jenkins/.nvm/versions/node/v22.13.1/bin/node /home/jenkins/.nvm/versions/node/v22.13.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --update-binary --module=/home/jenkins/agent/workspace/Ogma_ogma-build-systems_PR-103/node/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/home/jenkins/agent/workspace/Ogma_ogma-build-systems_PR-103/node/node_modules/canvas/build/Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v127' (1)
[2025-01-21T23:11:16.154Z] [4] npm error node-pre-gyp info it worked if it ends with ok
[2025-01-21T23:11:16.154Z] [4] npm error node-pre-gyp info using node-pre-gyp@1.0.11
[2025-01-21T23:11:16.154Z] [4] npm error node-pre-gyp info using node@22.13.1 | linux | x64
[2025-01-21T23:11:16.154Z] [4] npm error (node:962) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
[2025-01-21T23:11:16.154Z] [4] npm error (Use `node --trace-deprecation ...` to show where the warning was created)
[2025-01-21T23:11:16.155Z] [4] npm error node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v127-linux-glibc-x64.tar.gz
[2025-01-21T23:11:16.155Z] [4] npm error node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v127-linux-glibc-x64.tar.gz
[2025-01-21T23:11:16.155Z] [4] npm error node-pre-gyp WARN Pre-built binaries not installable for canvas@2.11.2 and node@22.13.1 (node-v127 ABI, glibc) (falling back to source compile with node-gyp)
[2025-01-21T23:11:16.155Z] [4] npm error node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v127-linux-glibc-x64.tar.gz
[2025-01-21T23:11:16.155Z] [4] npm error gyp info it worked if it ends with ok
[2025-01-21T23:11:16.155Z] [4] npm error gyp info using node-gyp@11.0.0
[2025-01-21T23:11:16.155Z] [4] npm error gyp info using node@22.13.1 | linux | x64
[2025-01-21T23:11:16.155Z] [4] npm error gyp info ok
[2025-01-21T23:11:16.155Z] [4] npm error gyp info it worked if it ends with ok
[2025-01-21T23:11:16.155Z] [4] npm error gyp info using node-gyp@11.0.0
[2025-01-21T23:11:16.155Z] [4] npm error gyp info using node@22.13.1 | linux | x64
[2025-01-21T23:11:16.155Z] [4] npm error gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"
[2025-01-21T23:11:16.155Z] [4] npm error gyp http GET https://nodejs.org/download/release/v22.13.1/node-v22.13.1-headers.tar.gz
[2025-01-21T23:11:16.155Z] [4] npm error gyp http 200 https://nodejs.org/download/release/v22.13.1/node-v22.13.1-headers.tar.gz
[2025-01-21T23:11:16.155Z] [4] npm error gyp http GET https://nodejs.org/download/release/v22.13.1/SHASUMS256.txt
[2025-01-21T23:11:16.155Z] [4] npm error gyp http 200 https://nodejs.org/download/release/v22.13.1/SHASUMS256.txt
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn /usr/bin/python3
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args [
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args '/home/jenkins/.nvm/versions/node/v22.13.1/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args 'binding.gyp',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args '-f',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args 'make',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args '-I',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args '/home/jenkins/agent/workspace/Ogma_ogma-build-systems_PR-103/node/node_modules/canvas/build/config.gypi',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args '-I',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args '/home/jenkins/.nvm/versions/node/v22.13.1/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args '-I',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args '/home/jenkins/.cache/node-gyp/22.13.1/include/node/common.gypi',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args '-Dlibrary=shared_library',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args '-Dvisibility=default',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args '-Dnode_root_dir=/home/jenkins/.cache/node-gyp/22.13.1',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args '-Dnode_gyp_dir=/home/jenkins/.nvm/versions/node/v22.13.1/lib/node_modules/npm/node_modules/node-gyp',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args '-Dnode_lib_file=/home/jenkins/.cache/node-gyp/22.13.1/<(target_arch)/node.lib',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args '-Dmodule_root_dir=/home/jenkins/agent/workspace/Ogma_ogma-build-systems_PR-103/node/node_modules/canvas',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args '-Dnode_engine=v8',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args '--depth=.',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args '--no-parallel',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args '--generator-output',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args 'build',
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args '-Goutput_dir=.'
[2025-01-21T23:11:16.155Z] [4] npm error gyp info spawn args ]
[2025-01-21T23:11:16.155Z] [4] npm error /bin/sh: 1: pkg-config: not found
[2025-01-21T23:11:16.155Z] [4] npm error gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 127 while in binding.gyp. while trying to load binding.gyp
[2025-01-21T23:11:16.155Z] [4] npm error gyp ERR! configure error
[2025-01-21T23:11:16.155Z] [4] npm error gyp ERR! stack Error: `gyp` failed with exit code: 1
[2025-01-21T23:11:16.155Z] [4] npm error gyp ERR! stack at ChildProcess.<anonymous> (/home/jenkins/.nvm/versions/node/v22.13.1/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:317:18)
[2025-01-21T23:11:16.155Z] [4] npm error gyp ERR! stack at ChildProcess.emit (node:events:524:28)
[2025-01-21T23:11:16.155Z] [4] npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)
[2025-01-21T23:11:16.156Z] [4] npm error gyp ERR! System Linux 6.2.0-36-generic
[2025-01-21T23:11:16.156Z] [4] npm error gyp ERR! command "/home/jenkins/.nvm/versions/node/v22.13.1/bin/node" "/home/jenkins/.nvm/versions/node/v22.13.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--update-binary" "--module=/home/jenkins/agent/workspace/Ogma_ogma-build-systems_PR-103/node/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/home/jenkins/agent/workspace/Ogma_ogma-build-systems_PR-103/node/node_modules/canvas/build/Release" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v127"
[2025-01-21T23:11:16.156Z] [4] npm error gyp ERR! cwd /home/jenkins/agent/workspace/Ogma_ogma-build-systems_PR-103/node/node_modules/canvas
[2025-01-21T23:11:16.156Z] [4] npm error gyp ERR! node -v v22.13.1
[2025-01-21T23:11:16.156Z] [4] npm error gyp ERR! node-gyp -v v11.0.0
[2025-01-21T23:11:16.156Z] [4] npm error gyp ERR! not ok
[2025-01-21T23:11:16.156Z] [4] npm error node-pre-gyp ERR! build error
[2025-01-21T23:11:16.156Z] [4] npm error node-pre-gyp ERR! stack Error: Failed to execute '/home/jenkins/.nvm/versions/node/v22.13.1/bin/node /home/jenkins/.nvm/versions/node/v22.13.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --update-binary --module=/home/jenkins/agent/workspace/Ogma_ogma-build-systems_PR-103/node/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/home/jenkins/agent/workspace/Ogma_ogma-build-systems_PR-103/node/node_modules/canvas/build/Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v127' (1)
[2025-01-21T23:11:16.156Z] [4] npm error node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/jenkins/agent/workspace/Ogma_ogma-build-systems_PR-103/node/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
[2025-01-21T23:11:16.156Z] [4] npm error node-pre-gyp ERR! stack at ChildProcess.emit (node:events:524:28)
[2025-01-21T23:11:16.156Z] [4] npm error node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1101:16)
[2025-01-21T23:11:16.156Z] [4] npm error node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[2025-01-21T23:11:16.156Z] [4] npm error node-pre-gyp ERR! System Linux 6.2.0-36-generic
[2025-01-21T23:11:16.156Z] [4] npm error node-pre-gyp ERR! command "/home/jenkins/.nvm/versions/node/v22.13.1/bin/node" "/home/jenkins/agent/workspace/Ogma_ogma-build-systems_PR-103/node/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--update-binary"
[2025-01-21T23:11:16.156Z] [4] npm error node-pre-gyp ERR! cwd /home/jenkins/agent/workspace/Ogma_ogma-build-systems_PR-103/node/node_modules/canvas
[2025-01-21T23:11:16.156Z] [4] npm error node-pre-gyp ERR! node -v v22.13.1
[2025-01-21T23:11:16.156Z] [4] npm error node-pre-gyp ERR! node-pre-gyp -v v1.0.11
[2025-01-21T23:11:16.156Z] [4] npm error node-pre-gyp ERR! not ok
[2025-01-21T23:11:16.156Z] [4] npm error A complete log of this run can be found in: /home/jenkins/.npm/_logs/2025-01-21T23_11_03_936Z-debug-0.log
[2025-01-21T23:11:16.446Z] [4] npm run prepare:node exited with code 1
[2025-01-21T23:11:17.836Z] [1]
[2025-01-21T23:11:17.836Z] [1] added 159 packages in 14s
[2025-01-21T23:11:17.836Z] [1]
[2025-01-21T23:11:17.836Z] [1] 32 packages are looking for funding
[2025-01-21T23:11:17.836Z] [1] run `npm fund` for details
[2025-01-21T23:11:17.836Z] [1] npm run prepare:rollup exited with code 0
[2025-01-21T23:11:18.781Z] [3] npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
[2025-01-21T23:11:18.781Z] [3] npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
[2025-01-21T23:11:20.163Z] [3]
[2025-01-21T23:11:20.163Z] [3] added 237 packages in 16s
[2025-01-21T23:11:20.163Z] [3]
[2025-01-21T23:11:20.163Z] [3] 15 packages are looking for funding
[2025-01-21T23:11:20.163Z] [3] run `npm fund` for details
[2025-01-21T23:11:20.163Z] [3] npm run prepare:typescript exited with code 0
[2025-01-21T23:11:32.392Z] [2] npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
[2025-01-21T23:11:32.392Z] [2] npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
[2025-01-21T23:11:32.392Z] [2] npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
[2025-01-21T23:11:32.392Z] [2]
[2025-01-21T23:11:32.392Z] [2] added 464 packages in 28s
[2025-01-21T23:11:32.392Z] [2]
[2025-01-21T23:11:32.392Z] [2] 89 packages are looking for funding
[2025-01-21T23:11:32.392Z] [2] run `npm fund` for details
[2025-01-21T23:11:32.654Z] [2] npm run prepare:webpack exited with code 0
[2025-01-21T23:11:59.248Z] [5]
[2025-01-21T23:11:59.248Z] [5] added 195 packages in 51s
[2025-01-21T23:11:59.248Z] [5]
[2025-01-21T23:11:59.248Z] [5] 88 packages are looking for funding
[2025-01-21T23:11:59.248Z] [5] run `npm fund` for details
[2025-01-21T23:11:59.248Z] [5] npm run prepare:parcel exited with code 0
[2025-01-21T23:11:59.248Z] npm error code 1
[2025-01-21T23:11:59.248Z] npm error path /home/jenkins/agent/workspace/Ogma_ogma-build-systems_PR-103
[2025-01-21T23:11:59.248Z] npm error command failed
[2025-01-21T23:11:59.248Z] npm error command sh -c node scripts/prepare.mjs && concurrently "npm run prepare:vite" "npm run prepare:rollup" "npm run prepare:webpack" "npm run prepare:typescript" "npm run prepare:node" "npm run prepare:parcel" && node scripts/cleanup.mjs
[2025-01-21T23:11:59.248Z] npm error A complete log of this run can be found in: /home/jenkins/.npm/_logs/2025-01-21T23_11_01_316Z-debug-0.log
Details
- Prepare (1 min 22 sec)
Error: script returned exit code 1
Loading