pnpm
pnpm's `ERR_PNPM_*` codes - the resolver or lockfile refusing, which is the cause itself.
jsdepstoolmatcher
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
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
1Running with gitlab-runner 16.10.0 (be4e0e33)
2 on green-4.saas-linux-medium-amd64 Kd8f2Lp1, system ID: s_9f8e7d6c5b4a
3Preparing the "docker+machine" executor
4 Using Docker executor with image node:20-alpine ...
5Using Docker executor with image node:20-alpine ...
6Using docker image sha256:1122334455aa for node:20-alpine with digest node@sha256:ffee...
7Preparing environment
8Running on runner-kd8f2lp1-project-88-concurrent-2...
9Fetching changes...
10Checking out 3fa71c08 as detached HEAD...
11Checking cache for pnpm-store-20-default...
12Successfully extracted cache
13$ corepack enable
14$ pnpm --version
159.4.0
16$ pnpm install --frozen-lockfile
17Scope: all 4 workspace projects
18Lockfile is up to date, resolution step is skipped
19 ERR_PNPM_OUTDATED_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with packages/web/package.json
20
21Note 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"
22
23 Failure reason:
24 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"})
25Running after_script
26$ echo "install failed, skipping build"
27install failed, skipping build
28Uploading artifacts for failed job
29WARNING: dist/: no matching files. Ensure that the artifact path is relative to the working directory
30ERROR: Job failed: exit code 1