Page MenuHomePhabricator

package.json and package-lock.json out of sync?
Closed, ResolvedPublic

Description

https://gerrit.wikimedia.org/r/c/mediawiki/core/+/960004/

https://integration.wikimedia.org/ci/job/mediawiki-quibble-composertest-php73-docker/3320/console

18:26:26 INFO:quibble.commands:>>> Start: npm install in /workspace/src
18:26:28 npm ERR! code EUSAGE
18:26:28 npm ERR! 
18:26:28 npm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
18:26:28 npm ERR! 
18:26:28 npm ERR! Invalid: lock file's eslint@7.1.0 does not satisfy eslint@6.8.0
18:26:28 npm ERR! Missing: chalk@2.4.2 from lock file
18:26:28 npm ERR! Invalid: lock file's cross-spawn@7.0.3 does not satisfy cross-spawn@6.0.5
18:26:28 npm ERR! Missing: eslint-utils@1.4.3 from lock file
18:26:28 npm ERR! Invalid: lock file's espree@7.0.0 does not satisfy espree@6.2.1
18:26:28 npm ERR! Missing: levn@0.3.0 from lock file
18:26:28 npm ERR! Missing: optionator@0.8.3 from lock file
18:26:28 npm ERR! Missing: regexpp@2.0.1 from lock file
18:26:28 npm ERR! Invalid: lock file's semver@7.3.2 does not satisfy semver@6.3.1
18:26:28 npm ERR! Missing: strip-ansi@5.2.0 from lock file
18:26:28 npm ERR! Missing: eslint-plugin-mocha@7.0.1 from lock file
18:26:28 npm ERR! Missing: eslint@7.32.0 from lock file
18:26:28 npm ERR! Invalid: lock file's ramda@0.27.0 does not satisfy ramda@0.27.2
18:26:28 npm ERR! Missing: ansi-styles@3.2.1 from lock file
18:26:28 npm ERR! Missing: supports-color@5.5.0 from lock file
18:26:28 npm ERR! Missing: color-convert@1.9.3 from lock file
18:26:28 npm ERR! Missing: color-name@1.1.3 from lock file
18:26:28 npm ERR! Missing: semver@5.7.2 from lock file
18:26:28 npm ERR! Missing: prelude-ls@1.1.2 from lock file
18:26:28 npm ERR! Missing: type-check@0.3.2 from lock file
18:26:28 npm ERR! Missing: ansi-regex@4.1.1 from lock file
18:26:28 npm ERR! Missing: has-flag@3.0.0 from lock file
18:26:28 npm ERR! Invalid: lock file's @babel/code-frame@7.10.1 does not satisfy @babel/code-frame@7.12.11
18:26:28 npm ERR! Missing: @eslint/eslintrc@0.4.3 from lock file
18:26:28 npm ERR! Missing: @humanwhocodes/config-array@0.5.0 from lock file
18:26:28 npm ERR! Missing: cross-spawn@7.0.3 from lock file
18:26:28 npm ERR! Missing: debug@4.3.4 from lock file
18:26:28 npm ERR! Missing: enquirer@2.4.1 from lock file
18:26:28 npm ERR! Missing: escape-string-regexp@4.0.0 from lock file
18:26:28 npm ERR! Invalid: lock file's eslint-scope@5.0.0 does not satisfy eslint-scope@5.1.1
18:26:28 npm ERR! Invalid: lock file's eslint-utils@2.0.0 does not satisfy eslint-utils@2.1.0
18:26:28 npm ERR! Missing: eslint-visitor-keys@2.1.0 from lock file
18:26:28 npm ERR! Missing: espree@7.3.1 from lock file
18:26:28 npm ERR! Invalid: lock file's esquery@1.3.1 does not satisfy esquery@1.5.0
18:26:28 npm ERR! Missing: fast-deep-equal@3.1.3 from lock file
18:26:28 npm ERR! Missing: file-entry-cache@6.0.1 from lock file
18:26:28 npm ERR! Missing: globals@13.22.0 from lock file
18:26:28 npm ERR! Missing: semver@7.5.4 from lock file
18:26:28 npm ERR! Missing: strip-json-comments@3.1.1 from lock file
18:26:28 npm ERR! Missing: table@6.8.1 from lock file
18:26:28 npm ERR! Invalid: lock file's @babel/highlight@7.10.1 does not satisfy @babel/highlight@7.22.20
18:26:28 npm ERR! Invalid: lock file's @babel/helper-validator-identifier@7.10.1 does not satisfy @babel/helper-validator-identifier@7.22.20
18:26:28 npm ERR! Missing: debug@4.3.4 from lock file
18:26:28 npm ERR! Missing: espree@7.3.1 from lock file
18:26:28 npm ERR! Missing: globals@13.22.0 from lock file
18:26:28 npm ERR! Missing: strip-json-comments@3.1.1 from lock file
18:26:28 npm ERR! Missing: @humanwhocodes/object-schema@1.2.1 from lock file
18:26:28 npm ERR! Missing: debug@4.3.4 from lock file
18:26:28 npm ERR! Missing: ansi-colors@4.1.3 from lock file
18:26:28 npm ERR! Invalid: lock file's strip-ansi@6.0.0 does not satisfy strip-ansi@6.0.1
18:26:28 npm ERR! Invalid: lock file's esrecurse@4.2.1 does not satisfy esrecurse@4.3.0
18:26:28 npm ERR! Missing: estraverse@5.3.0 from lock file
18:26:28 npm ERR! Missing: ms@2.1.2 from lock file
18:26:28 npm ERR! Invalid: lock file's acorn@7.2.0 does not satisfy acorn@7.4.1
18:26:28 npm ERR! Invalid: lock file's acorn-jsx@5.2.0 does not satisfy acorn-jsx@5.3.2
18:26:28 npm ERR! Invalid: lock file's eslint-visitor-keys@1.1.0 does not satisfy eslint-visitor-keys@1.3.0
18:26:28 npm ERR! Missing: type-fest@0.20.2 from lock file
18:26:28 npm ERR! Missing: ms@2.1.2 from lock file
18:26:28 npm ERR! Missing: path-key@3.1.1 from lock file
18:26:28 npm ERR! Missing: shebang-command@2.0.0 from lock file
18:26:28 npm ERR! Missing: which@2.0.2 from lock file
18:26:28 npm ERR! Missing: ms@2.1.2 from lock file
18:26:28 npm ERR! Missing: eslint-visitor-keys@1.3.0 from lock file
18:26:28 npm ERR! Missing: flat-cache@3.1.0 from lock file
18:26:28 npm ERR! Missing: flatted@3.2.9 from lock file
18:26:28 npm ERR! Invalid: lock file's keyv@4.5.2 does not satisfy keyv@4.5.3
18:26:28 npm ERR! Missing: type-fest@0.20.2 from lock file
18:26:28 npm ERR! Missing: lru-cache@6.0.0 from lock file
18:26:28 npm ERR! Missing: yallist@4.0.0 from lock file
18:26:28 npm ERR! Missing: shebang-regex@3.0.0 from lock file
18:26:28 npm ERR! Missing: ajv@8.12.0 from lock file
18:26:28 npm ERR! Missing: lodash.truncate@4.4.2 from lock file
18:26:28 npm ERR! Invalid: lock file's string-width@4.2.0 does not satisfy string-width@4.2.3
18:26:28 npm ERR! Missing: json-schema-traverse@1.0.0 from lock file
18:26:28 npm ERR! Missing: require-from-string@2.0.2 from lock file
18:26:28 npm ERR! 
18:26:28 npm ERR! Clean install a project
18:26:28 npm ERR! 
18:26:28 npm ERR! Usage:
18:26:28 npm ERR! npm ci
18:26:28 npm ERR! 
18:26:28 npm ERR! Options:
18:26:28 npm ERR! [-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
18:26:28 npm ERR! [-E|--save-exact] [-g|--global] [--global-style] [--legacy-bundling]
18:26:28 npm ERR! [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
18:26:28 npm ERR! [--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
18:26:28 npm ERR! [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
18:26:28 npm ERR! [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
18:26:28 npm ERR! [-ws|--workspaces] [--include-workspace-root] [--install-links]
18:26:28 npm ERR! 
18:26:28 npm ERR! aliases: clean-install, ic, install-clean, isntall-clean
18:26:28 npm ERR! 
18:26:28 npm ERR! Run "npm help ci" for more info
18:26:28 
18:26:28 npm ERR! A complete log of this run can be found in:
18:26:28 npm ERR!     /cache/npm/_logs/2023-09-25T17_26_26_742Z-debug-0.log
18:26:28 INFO:quibble.commands:<<< Finish: npm install in /workspace/src, in 2.462 s

Event Timeline

Change 961166 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/core@REL1_35] package-lock.json: Re-build to see if this makes CI happy

https://gerrit.wikimedia.org/r/961166

Change 961166 merged by jenkins-bot:

[mediawiki/core@REL1_35] package-lock.json: Re-build to see if this makes CI happy

https://gerrit.wikimedia.org/r/961166