Npm run type-check breaks internet connection

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When cursor autoruns the command npm run type-check, it breaks the internet connection and show an error window (whereby there is no internet connection issue)

Steps to Reproduce

Run npm run type-check

Expected Behavior

The command runs and the internet connection error message is not displayed

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.10 (user setup)
VSCode Version: 1.99.3
Commit: 0b554a0d285c4e0dbeec34c61fd30984071f47c0
Date: 2025-09-26T02:32:18.150Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT arm64 10.0.26100

For AI issues: which model did you use?

Auto

For AI issues: add Request ID with privacy disabled

8ac1bfa7-9dc4-44ce-8d70-a34393014df7

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, could you share a screenshot of the error you are seeing?

Also, can you confirm that it just “breaks the internet connection” within Cursor, or systemwide?

1 Like

Occurs since two or three days. Does not break the system internet connection, only Cursor
Request ID: 91f1c5e4-8fe9-474f-9d30-2a849603882d

this is more old than my grandfather.. this error happens to me everyday since I use cursor, they just don’t give a ■■■■

1 Like

Hey, I noticed you have 26 project rules attached. Do you need all of them? You might be adding too much context, which could cause the error. Try a different project and also create a new chat.

Fair point, have stripped down the number of rules!

Is the error still showing up? Did you also try this in another project?

Yes, the error now is: Connection failed. If the problem persists, please check your internet connection or VPN
When the agent runs npm run type-check

Yeah, thanks for the info. Do you also use any MCP servers?

No, not using any MCP

Re-installed Typescript. Seems like node_modules were messed up.
Works now. Error message needs to be improved, though

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.