I see this message in the npm ci step of various builds (e.g. https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php72-noselenium-docker/119033/console)
13:37:22 INFO:quibble.commands:>>> Start: npm install in /workspace/src 13:37:22 npm WARN old lockfile 13:37:24 npm WARN old lockfile The package-lock.json file was created with an old version of npm, 13:37:24 npm WARN old lockfile so supplemental metadata must be fetched from the registry. 13:37:24 npm WARN old lockfile 13:37:24 npm WARN old lockfile This is a one-time fix-up, please be patient... 13:37:24 npm WARN old lockfile 13:37:24 npm WARN old lockfile wdio-mediawiki: No matching version found for wdio-mediawiki@1.2.0. 13:37:27 npm WARN old lockfile at module.exports (/srv/npm/node_modules/npm-pick-manifest/index.js:209:23) 13:37:27 npm WARN old lockfile at packument.then.packument (/srv/npm/node_modules/pacote/lib/registry.js:118:26) 13:37:27 npm WARN old lockfile Could not fetch metadata for wdio-mediawiki@1.2.0 { wdio-mediawiki: No matching version found for wdio-mediawiki@1.2.0. 13:37:27 npm WARN old lockfile at module.exports (/srv/npm/node_modules/npm-pick-manifest/index.js:209:23) 13:37:27 npm WARN old lockfile at packument.then.packument (/srv/npm/node_modules/pacote/lib/registry.js:118:26) 13:37:27 npm WARN old lockfile stack: 13:37:27 npm WARN old lockfile 'wdio-mediawiki: No matching version found for wdio-mediawiki@1.2.0.\n at module.exports (/srv/npm/node_modules/npm-pick-manifest/index.js:209:23)\n at packument.then.packument (/srv/npm/node_modules/pacote/lib/registry.js:118:26)', 13:37:27 npm WARN old lockfile code: 'ETARGET', 13:37:27 npm WARN old lockfile type: 'version', 13:37:27 npm WARN old lockfile wanted: '1.2.0', 13:37:27 npm WARN old lockfile versions: 13:37:27 npm WARN old lockfile [ '0.1.7', 13:37:27 npm WARN old lockfile '0.2.0', 13:37:27 npm WARN old lockfile '0.3.0', 13:37:27 npm WARN old lockfile '0.4.0', 13:37:27 npm WARN old lockfile '0.5.0', 13:37:27 npm WARN old lockfile '1.0.0', 13:37:27 npm WARN old lockfile '1.1.0', 13:37:27 npm WARN old lockfile '1.1.1' ], 13:37:27 npm WARN old lockfile name: 'wdio-mediawiki', 13:37:27 npm WARN old lockfile distTags: { latest: '1.1.1' }, 13:37:27 npm WARN old lockfile defaultTag: 'latest' } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: '@wdio/cli@7.4.6', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: '@wdio/config@7.4.2', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: '@wdio/dot-reporter@7.4.2', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: '@wdio/junit-reporter@7.4.2', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: '@wdio/local-runner@7.4.6', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: '@wdio/logger@7.4.2', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: '@wdio/mocha-framework@7.13.2', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: '@wdio/logger@7.7.0', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: '@wdio/types@7.13.2', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: '@wdio/utils@7.13.2', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: '@wdio/protocols@7.4.2', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: '@wdio/repl@7.4.6', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: '@wdio/reporter@7.4.2', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: '@wdio/runner@7.4.6', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: '@wdio/sync@7.4.6', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: '@wdio/types@7.4.2', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: '@wdio/utils@7.4.6', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: 'devtools@7.4.6', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: 'eslint-plugin-wdio@7.4.2', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: 'mocha@9.1.2', 13:37:27 npm WARN EBADENGINE required: { node: '>= 12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: 'stylelint-no-unsupported-browser-features@5.0.1', 13:37:27 npm WARN EBADENGINE required: { node: '>=12' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: 'webdriver@7.4.6', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN EBADENGINE Unsupported engine { package: 'webdriverio@7.4.6', 13:37:27 npm WARN EBADENGINE required: { node: '>=12.0.0' }, 13:37:27 npm WARN EBADENGINE current: { node: 'v10.24.0', npm: '7.21.0' } } 13:37:27 npm WARN deprecated @stylelint/postcss-markdown@0.36.2: Use the original unforked package instead: postcss-markdown 13:37:32 npm WARN deprecated har-validator@5.1.5: this library is no longer supported 13:37:32 npm WARN deprecated formidable@1.2.2: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau 13:37:32 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. 13:37:33 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 13:37:33 13:37:42 added 1096 packages, and audited 1098 packages in 19s 13:37:42 13:37:42 123 packages are looking for funding 13:37:42 run `npm fund` for details 13:37:42 13:37:42 3 moderate severity vulnerabilities 13:37:42 13:37:42 To address all issues (including breaking changes), run: 13:37:42 npm audit fix --force 13:37:42 13:37:42 Run `npm audit` for details.
It looks like there are two problems:
- package-lock.json created with previous version of npm
- some packages (wdio ones) not supported by current node engine (10, they want version 12)