-
Notifications
You must be signed in to change notification settings - Fork 147
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
Debug Failure. Unexpected node. #896
Comments
I think this issue is more suited in the bun repo. |
Well inlay hints works on vscode but not in neovim tho. maybe its the nvim-lspconfig and tsserver always expecting the node_modules directory to exist in the repo dir. |
Vs code doesn't use this typescript-language-server. I'm not sure why you mention inlay hints and how that is related to the above issue. Can you please explain. You would need to provide steps on how someone can reproduce the same issue, and what the expected and actual behaviors are. |
I second this. |
First of all, when reporting issues, please provide the code (project) that reproduces the issue. Otherwise no one can help you. Two, I've seen it happening before. Typically Typescript throws such errors when typing, when the code is momentarily invalid (which is normal when typing). It's not something that can be fixed here. At best we could silence those errors. Ideally this should be reported in Typescript repo. |
I am using lazyvim as my base, The error only occurs when using bun workspace as the node_modules are hoisted in the workspace root it errors looking for the type hints, When using on a regular ts projects this wont occur only in Bun workspace
The text was updated successfully, but these errors were encountered: