#tsserver broke out of nowhere

2 messages · Page 1 of 1 (latest)

mortal cosmos
#

ffs, i think im about to go crazy. my typescript language server decided to not work well with me for today.

I don't have a lot of ideas on how to investigate further nor do I know anything about the intricacies of the language server itself, but from what I've seen it seemed to have not loaded the tsconfig.json (2nd image), but the fact is that its already there since the project started and worked fine!! and now suddenly it decided to break by itself

i tried changing the versions (workspace or vscode-provided), which doesn't make any difference

i recently upgraded next from 13.5 to 4.0 actually, which might be the culprit; but I ruled this out cause I "git checkout" to a commit waayy before the upgrade took place and no difference at all, it's still spewing the same errors

i booted up neovim with plugins that provides the same typescript intellisense features that makes use of tsserver, of which it broke as well (it gave the same error: @/prisma is not defined); i could rule out vscode from being the culprit knowing neovim experienced the same issue with tsserver.

i did npx tsc, but it just works??? no errors, no warnings, no anything. why the hell does it work and be able to recognize the tsconfig.json file but the tsserver doesn't???

i dug into the logs but couldn't find anything useful, in fact it looks like the tsconfig.json IS loaded properly (3rd image), but why the hell does vscode say that there is "No tsconfig" (2nd image). clicking it would create a new file jsconfig.json, hello???

i am really in need of someone's help i think im about to go crazy, thank you so much

stark valveBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)