TypeScript Errors Not Showing + Files Not Opening on Click

I’m using Cursor for a TypeScript project, but it’s not showing TypeScript errors, underlining issues, or displaying tooltips on hover. In VS Code, the same code correctly shows type errors (e.g., “Argument of type ‘string’ is not assignable…”).

Additionally, clicking on file references doesn’t open them. I’ve tried:

  • Reinstalling Cursor
  • Syncing settings from VS Code
  • Installing TypeScript globally (npm install -g typescript)
  • Restarting Cursor & reloading the window

Still no luck. Any ideas on how to fix this?

let x: number = “hello”;

it does not show any error, if i have this written on my code

Hey, possible reason for the non-working TypeScript server, try restarting it, also open the DevTools panel, there might be errors there.

i dont see option for Restart TS server, but i see the cursor bottom tab shows Typescript.
also this is from devtools console
workbench.desktop.main.js:1378 [Extension Host] stack trace: Error: command ‘_typescript.configurePlugin’ not found
at Q7t.n (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1954:1346)
at Q7t.executeCommand (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1954:1278)
Jur @ workbench.desktop.main.js:1378
i uninstalled, restarted JavaScript and TypeScript Nightly, still no luck

i am using TS verions Version 5.3.2

fixed it by doing

rm -rf ~/Library/Application\ Support/Cursor
rm -rf ~/Library/Caches/com.cursor
rm -rf ~/Library/Preferences/com.cursor.plist
rm -rf ~/.cursor

and reinstalling

2 Likes

I’m glad your issue is resolved.

this worked for me, thank you!