js
JavaScript and TypeScript build, test, package-manager and runtime failures.
bundlebundle
Install: ci-doctor matchers add official/js
bundles/js.yaml
id: jsdescription: JavaScript and TypeScript build, test, package-manager and runtime failures.include: [jest, tsc, eslint, pnpm, yarn, bun, node_runtime, playwright, cypress, npm, js_script_exit]
Contains
11 matchers, bundles flattened:
- jest A jest test failure - the bullet header names the test, and the diff below it shows expected against received.
- tsc A TypeScript compile error (`error TS2345:`) with the source excerpt around it.
- eslint ESLint's `line:col error rule-name` entries and its `N problems` summary footer.
- pnpm pnpm's `ERR_PNPM_*` codes - the resolver or lockfile refusing, which is the cause itself.
- yarn Yarn Classic's `error <Capital>` lines and Berry's `YN0000:` diagnostic codes.
- bun A failed `bun test` (the crossed-out test and its assertion), or a `bun install` that found no matching version.
- node_runtime An uncaught Node error. The message above the stack is the cause; an ESM/CJS resolution error means a missing or mis-declared module.
- playwright A Playwright test failure - the `1) suite > test` header names the test; its trace and diff follow.
- cypress A `CypressError` or a retry timeout, with the command log leading up to it.
- npm `npm ERR!` lines. A wrapper: npm reports the failure of the script it ran, never the cause.
- js_script_exit A JS package manager announcing that a lifecycle script exited non-zero - pnpm's `ELIFECYCLE`, bun's `error: script "x" exited with code N`.