-
Notifications
You must be signed in to change notification settings - Fork 12.8k
TS module not found until server is restarted #59129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Seems to work fine for me. Can you try collecting the TS Server log:
That should help us understand what's going on |
Here: https://gist.github.com/connor4312/9f76269aba865563f8117f6c7c4f84c9 I created a file called |
Thanks @connor4312 IN the logs, I can see that
|
Do you happen to know if this was a recent regression? Did you test on a previous version? |
I have seen this happen before, but I think it's been a while (a few releases at least.) |
Unfortunately I don't have intellicode installed |
I deleted my previous comment just after posting because the issue was actually not resolved and the error where not showing during my tests for some other random reason. But great news, I actually found a new solution which is to disable the enableProjectDiagnostics option. -> microsoft/vscode#168410 settings.json:
That's unfortunate because now only opened files report error, but that's still better than having random errors on every new files. |
I think this is fixed by #59625. Please provide repro and log and open a new issue if its not fixed. |
In VS Code, using the workspace TS version (5.6.0-dev.20240618)
The text was updated successfully, but these errors were encountered: