cancel Failed
Node version mismatch broke CI
easy#CI-001workspacesbuild (ubuntu-latest)fork_rightfeature/checkout-refactorcommita1b2c3d — bump checkout depsrocket_launchGitHub Actions-styleschedule1m 12s
CI failed during the build. Read the log, line up the workflow against the project's declared Node version, and diagnose the failure.
14:03:01##[group]Run actions/setup-node@v4
14:03:01 with node-version: 16
14:03:02Found in cache @ /opt/hostedtoolcache/node/16.20.2/x64
14:03:02##[endgroup]
14:03:02$ node --version
14:03:02v16.20.2
14:03:03$ npm ci
14:03:09npm warn EBADENGINE Unsupported engine {
14:03:09npm warn EBADENGINE package: 'buglyst-checkout@2.4.0',
14:03:09npm warn EBADENGINE required: { node: '>=20.0.0' },
14:03:09npm warn EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
14:03:14$ npm run build
14:03:15> buglyst-checkout@2.4.0 build
14:03:15> tsc -p tsconfig.json && node scripts/bundle.mjs
14:03:18 const latest = events.findLast((e) => e.active);
14:03:18TypeError: events.findLast is not a function
14:03:19##[error]Array.prototype.findLast requires Node 18+, runner is on 16
14:03:19##[error]Process completed with exit code 1.