-
-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Package: eslint-formatter-checkstyle
Version: 9.0.0
Node version: v22.18.0
ESLint version: v9.37.0
Description
When running ESLint with the checkstyle formatter, the formatter crashes due to a missing file (xml-escape).
Command
node_modules/.bin/eslint -f checkstyle -o build-logs/eslint.xml .Output
/app/node_modules/eslint-formatter-checkstyle/index.js Error: Cannot find module './xml-escape'
Require stack:
- /app/node_modules/eslint-formatter-checkstyle/index.js
at Function._resolveFilename (node:internal/modules/cjs/loader:1365:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1021:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1026:22)
at Function._load (node:internal/modules/cjs/loader:1175:37)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.require (node:internal/modules/cjs/loader:1445:12)
at require (node:internal/modules/helpers:135:16)
at Object.<anonymous> (/app/node_modules/eslint-formatter-checkstyle/index.js:6:19)
at Module._compile (node:internal/modules/cjs/loader:1688:14) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/app/node_modules/eslint-formatter-checkstyle/index.js' ]
}Root cause
PR: #12
Copilot
Metadata
Metadata
Assignees
Labels
No labels