LSP-typescript icon indicating copy to clipboard operation
LSP-typescript copied to clipboard

Incorrect annotations linger when reinstalling `node_modules`

Open silverwind opened this issue 1 year ago • 1 comments

When doing a rm -rf node_modules && npm i inside a project, new error annotations will show because typescript from node_modules is temporarily not available. When this happens, LSP-typescript seems falls back to a different configuration where it ignores the tsconfig.json in the project.

After node_modules is present again, these error annotations do not go away and the only reliable way to remove them that I have found is to restart Sublime Text.

silverwind avatar Aug 01 '24 07:08 silverwind

Are you able to verify whether it behaves the same in VSCode?

rchl avatar Aug 13 '24 12:08 rchl

Closing due to inactivity. Feel free to reopen this ticket, but please provide a way to reproduce the issue.

predragnikolic avatar Oct 11 '24 23:10 predragnikolic