-
Notifications
You must be signed in to change notification settings - Fork 12.8k
TypeScript Server Error - Cannot auto import get code fixes #31975
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
Can you share your project or some example code that demonstrates this issue? |
Unfortunately I can't share the project. I'm working on creating some example code with the same config but I can't reproduce. I'm wondering if it has something to do with the size of the project? The codebase where this is manifesting is decently big. It also looks like it's related to the If this still doesn't help I can keep trying to reproduce. |
Doing a search for |
I have a similar problem, but auto-import is broken after creating a new file. My workflow looks like this:
After restarting, auto-import is not broken if I create another file. But only after some time, and always if I create a new file. I must restart the TS server every 20-40 min. |
Closing as issue was solved per #31975 (comment) |
Auto import does not work. Typescript server errors out when trying to auto import either by intellisense completion,
cmd+.
or hover and clickQuick Fix
tsserver.log error
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes
I realize this might not be very much information. This does not happen on an extremely simple test project with the same tsconfig. Please let me know what if anything else I can do to provide more information.
The text was updated successfully, but these errors were encountered: