microsoft / microsoft/vscode-eslint

Eslint client couldn't create connection to server after installing new VS Code version

Open
#2,136 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

info-needed
Dominant language
TypeScript
Stars
2k
Forks
384
Avg merge
1d 16h
Merged PRs (30d)
6

Description

macOS Tahoe Version 26.3

VS Code version:
Version: 1.110.1
Commit: 61b3d0ab13be7dda2389f1d3e60a119c7f660cc3
Date: 2026-03-06T23:03:27.520Z
Electron: 39.6.0
ElectronBuildId: 13330601
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0

2026-03-09 08:26:30.830 [info] ESLint server is starting.
2026-03-09 08:26:30.830 [info] ESLint server stopped.
2026-03-09 08:26:30.830 [error] ESLint client: couldn't create connection to server.
Error: spawn EBADF
at ChildProcess.spawn (node:internal/child_process:420:11)
at spawn (node:child_process:820:9)
at fork (node:child_process:175:10)
at e.fork (node:electron/js2c/node_init:2:19269)
at o (/Users/jose/.vscode/extensions/dbaeumer.vscode-eslint-3.0.24/client/out/extension.js:1:354855)
at new Promise ()
at /Users/jose/.vscode/extensions/dbaeumer.vscode-eslint-3.0.24/client/out/extension.js:1:354431
at async T.createConnection (/Users/jose/.vscode/extensions/dbaeumer.vscode-eslint-3.0.24/client/out/extension.js:1:147929)
at async T.start (/Users/jose/.vscode/extensions/dbaeumer.vscode-eslint-3.0.24/client/out/extension.js:1:138179)
2026-03-09 08:26:30.830 [error] Starting the server failed.
Error: spawn EBADF
at ChildProcess.spawn (node:internal/child_process:420:11)
at spawn (node:child_process:820:9)
at fork (node:child_process:175:10)
at e.fork (node:electron/js2c/node_init:2:19269)
at o (/Users/jose/.vscode/extensions/dbaeumer.vscode-eslint-3.0.24/client/out/extension.js:1:354855)
at new Promise ()
at /Users/jose/.vscode/extensions/dbaeumer.vscode-eslint-3.0.24/client/out/extension.js:1:354431
at async T.createConnection (/Users/jose/.vscode/extensions/dbaeumer.vscode-eslint-3.0.24/client/out/extension.js:1:147929)
at async T.start (/Users/jose/.vscode/extensions/dbaeumer.vscode-eslint-3.0.24/client/out/extension.js:1:138179)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with macOS Tahoe 26.3, VS Code 1.110.1, and the reported ESLint extension version. Inspect the server startup path represented by client/out/extension.js and the spawn EBADF logs; done means the ESLint server starts and the client establishes its connection without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, node.js, typescript, vscode
Domain
devtools, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.