yarn
Yarn Classic's `error <Capital>` lines and Berry's `YN0000:` diagnostic codes.
jsdepstoolmatcher
Install: ci-doctor matchers add official/yarn
matchers/js/yarn/matcher.yaml
id: yarnrole: toolclassification: [js, deps]description: Yarn Classic's `error <Capital>` lines and Berry's `YN0000:` diagnostic codes.pattern: ^error [A-Z]|➤ YN\d{4}before: 1after: 8
In bundles
Fixtures
Framing stripped per provider. Highlighted lines are what this matcher selects; the marked line is the anchor.
yarn_missing_packageOpen 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: yarn_missing_package
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 yarn --version
35yarn --version
36yarn install --frozen-lockfile --non-interactive
37shell: /usr/bin/bash -e {0}
38##[endgroup]
391.22.22
40yarn install v1.22.22
41[1/4] Resolving packages...
42error Couldn't find package "@acme/design-tokens@^3.1.0" required by "web@1.0.0" on the "npm" registry.
43info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
44##[error]Process completed with exit code 1.
45##[group]Post Run actions/checkout@v4
46##[endgroup]
47/usr/bin/git version
48git version 2.54.0
49##[group]Post Run actions/upload-artifact@v4
50##[endgroup]
51Artifact upload complete.
52##[warning]node_modules/: no matching files. Ensure that the artifact path is relative to the working directory
53Post job cleanup.
54Cleaning 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-3...
9Fetching changes...
10Checking out b1904ff7 as detached HEAD...
11Checking cache for yarn-cache-20-default...
12Successfully extracted cache
13$ yarn --version
141.22.22
15$ yarn install --frozen-lockfile --non-interactive
16yarn install v1.22.22
17[1/4] Resolving packages...
18error Couldn't find package "@acme/design-tokens@^3.1.0" required by "web@1.0.0" on the "npm" registry.
19info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
20Running after_script
21$ echo "yarn install failed"
22yarn install failed
23Uploading artifacts for failed job
24WARNING: node_modules/: no matching files. Ensure that the artifact path is relative to the working directory
25ERROR: Job failed: exit code 1