netlify / netlify/cli

Just installed Netlify CLI and linked it. asked for status and I get this error.

Open
#7,936 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: bug
Dominant language
TypeScript
Stars
1.9k
Forks
474
Avg merge
23h 30m
Merged PRs (30d)
53

Description

Describe the bug

Error [ERR_USE_AFTER_CLOSE]: readline was closed
at Interface.pause (node:internal/readline/interface:564:13)
at PromptUI.close (C:\Users\dylan\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\inquirer\lib\ui\baseUI.js:56:13)
at Timeout._onTimeout (file:///C:/Users/dylan/AppData/Roaming/npm/node_modules/netlify-cli/dist/commands/main.js:148:23)
at listOnTimeout (node:internal/timers:605:17)
at process.processTimers (node:internal/timers:541:7)

System:
OS: Windows 11 10.0.26100
CPU: (16) x64 AMD Ryzen 7 PRO 8840HS w/ Radeon 780M Graphics
Binaries:
Node: 24.12.0 - C:\Program Files\nodejs\node.EXE
npm: 11.6.2 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (140.0.3485.54)

Steps to reproduce

Install Netlify CLI
Link to account/project
request status

Configuration

No response

Environment

System:
OS: Windows 11 10.0.26100
CPU: (16) x64 AMD Ryzen 7 PRO 8840HS w/ Radeon 780M Graphics
Memory: 14.55 GB / 27.67 GB
Binaries:
Node: 24.12.0 - C:\Program Files\nodejs\node.EXE
npm: 11.6.2 - C:\Program Files\nodejs\npm.CMD

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

Reproduce the failure on Windows 11 with Node 24 after installing and linking the Netlify CLI, then request status. Start with the stack trace at dist/commands/main.js around line 148 and inquirer’s PromptUI.close; done means the status request completes without the readline ERR_USE_AFTER_CLOSE error.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.