← Catalogue

pnpm

pnpm's `ERR_PNPM_*` codes - the resolver or lockfile refusing, which is the cause itself.

jsdepstoolmatcher

Open in playgroundFile on GitHubHistory

Install: ci-doctor matchers add official/pnpm

matchers/js/pnpm/matcher.yaml

id: pnpmrole: toolclassification: [js, deps]description: pnpm's `ERR_PNPM_*` codes - the resolver or lockfile refusing, which is the cause itself.pattern: ERR_PNPM_\w+before: 1after: 10

In bundles

alljs

Fixtures

Framing stripped per provider. Highlighted lines are what this matcher selects; the marked line is the anchor.

pnpm_lockfile_outdatedOpen in playground

1Current runner version: '2.336.0'
2##[group]Operating System
3Ubuntu
424.04.4
5LTS
6##[endgroup]
7Secret source: Actions
8Prepare workflow directory
9Prepare all required actions
10Complete job name: pnpm_lockfile_outdated
11##[group]Set up job
12Image: ubuntu-24.04
13Runner name: 'GitHub Actions 12'
14##[endgroup]
15Download action repository 'actions/checkout@v4'
16Download action repository 'actions/cache@v4'
17##[group]Run actions/checkout@v4
18 with:
19 fetch-depth: 20
20 lfs: false
21##[endgroup]
22Syncing repository: acme/ledger
23##[group]Getting Git version info
24Working directory is '/home/runner/work/ledger/ledger'
25##[endgroup]
26/usr/bin/git checkout --progress --force 8ad41f02
27##[group]Run actions/cache@v4
28 with:
29 path: ~/.cache
30 key: Linux-deps-8ad41f02
31##[endgroup]
32Received 41943040 of 41943040 (100.0%), 40.0 MBs/sec
33Cache restored from key: Linux-deps-8ad41f02
34##[group]Run corepack enable
35corepack enable
36pnpm --version
37pnpm install --frozen-lockfile
38shell: /usr/bin/bash -e {0}
39##[endgroup]
409.4.0
41Scope: all 4 workspace projects
42Lockfile is up to date, resolution step is skipped
43 ERR_PNPM_OUTDATED_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with packages/web/package.json
44
45Note that in CI environments this setting is true by default. If you still need to run install in such cases, use "pnpm install --no-frozen-lockfile"
46
47 Failure reason:
48 specifiers in the lockfile ({"react":"^18.2.0","zod":"^3.22.4"}) don't match specs in package.json ({"react":"^18.3.1","zod":"^3.23.8"})
49##[error]Process completed with exit code 1.
50##[group]Post Run actions/checkout@v4
51##[endgroup]
52/usr/bin/git version
53git version 2.54.0
54##[group]Post Run actions/upload-artifact@v4
55##[endgroup]
56Artifact upload complete.
57##[warning]dist/: no matching files. Ensure that the artifact path is relative to the working directory
58Post job cleanup.
59Cleaning up orphan processes