Windows Terminal freezes when running npm #20443

Closed
opened 2026-01-31 07:13:58 +00:00 by claunia · 4 comments
Owner

Originally created by @ChaseKnowlden on GitHub (Sep 4, 2023).

Windows Terminal version

1.17.11461.0

Windows build number

10.0.22621.2134

Other Software

No response

Steps to reproduce

Run Windows terminal.
Go to a project that uses npm.
Run npm ci.
Windows terminal freezes.

Expected Behavior

To finish ok.

Actual Behavior

Windows terminal freezes when it reaches a certain dependency.

Originally created by @ChaseKnowlden on GitHub (Sep 4, 2023). ### Windows Terminal version 1.17.11461.0 ### Windows build number 10.0.22621.2134 ### Other Software _No response_ ### Steps to reproduce Run Windows terminal. Go to a project that uses npm. Run npm ci. Windows terminal freezes. ### Expected Behavior To finish ok. ### Actual Behavior Windows terminal freezes when it reaches a certain dependency.
claunia added the Issue-BugNeeds-Tag-FixNeeds-ReproProduct-TerminalPriority-1 labels 2026-01-31 07:13:58 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Sep 5, 2023):

Can you share a specific project that repros this/? This sounds pretty bad, so I'd be surprised that we'd never heard about it before if it was widespread.

When the Terminal freezes, how does it freeze? Does the output stop, but the rest of the Terminal UI remain responsive? (i.e. can you open other tabs?) Or does the app become fully unresponsive, like when the OS fades the window out and forces you to force-kill it? If it's that second one, a grabbing a dump while it's frozen might be enlightening.

Does this repro on Terminal Preview? I think there were some changes in 1.18 that might help. Can't be sure.

@zadjii-msft commented on GitHub (Sep 5, 2023): Can you share a specific project that repros this/? This sounds pretty bad, so I'd be surprised that we'd never heard about it before if it was widespread. When the Terminal freezes, _how_ does it freeze? Does the output stop, but the rest of the Terminal UI remain responsive? (i.e. can you open other tabs?) Or does the app become fully unresponsive, like when the OS fades the window out and forces you to force-kill it? If it's that second one, a [grabbing a dump](https://github.com/microsoft/terminal/wiki/Toubleshooting-Tips#capture-with-task-manager) while it's frozen might be enlightening. Does this repro on [Terminal Preview](https://aka.ms/terminal-preview)? I think there were some changes in 1.18 that might help. Can't be sure.
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Sep 9, 2023):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@microsoft-github-policy-service[bot] commented on GitHub (Sep 9, 2023): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
Author
Owner

@ChaseKnowlden commented on GitHub (Sep 11, 2023):

It happens on the vscode-python project. @zadjii-msft

The output stops.

@ChaseKnowlden commented on GitHub (Sep 11, 2023): It happens on the vscode-python project. @zadjii-msft The output stops.
Author
Owner

@ChaseKnowlden commented on GitHub (Nov 4, 2023):

Duplicate of https://github.com/npm/cli/issues/4028.

@ChaseKnowlden commented on GitHub (Nov 4, 2023): Duplicate of https://github.com/npm/cli/issues/4028.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20443