N
Nuxt4mo ago
Gawel91

TypeScript in VSCode often failing

It's pretty often that I get errors like this, sometimes it does go away when I close the file and reopen it but sometimes not. I do have the official Vue extension in VSCode.
No description
8 Replies
RicharDVD
RicharDVD4mo ago
Do you sometimes see a notification show up that the Vue Language Server has stopped working? I had this since the new Vue extension update (v2.0). Try downgrading the latest version before v2 and see if that fixes it. Sometimes the typescript server also stops working, in that case press ctrl + p and type "Restart TS server". Hope this helps
pyplacca
pyplacca4mo ago
You could be running out of system memory. Restarting the server and vscode usually solves the problem. You could also restart your machine if the previous suggestion doesn’t work Webstorm isn’t free, is it?
Zeeeth
Zeeeth4mo ago
No, it is not free, but Good things in life cost moneys 💰 or, well, the Early Access Program L422Y linked is free I use both WebStorm and VSCode because some of my colleagues use VSCode, and i need to say that the money you spend for the license of WebStorm you probably make up in efficiency
pyplacca
pyplacca4mo ago
@Henrik Sjödahl, how much efficiency in comparison to vscode?
Gawel91
Gawel914mo ago
Ha yeah something looks wrong
No description
Gawel91
Gawel914mo ago
Got 16GB system memory so I don't think it's that? I'll try the downgrade of Vue extension. And no I've been using VSCode for 8 years now, I don't see myself changing 🙈 Looks like version under v2 works! Thank you.
RicharDVD
RicharDVD4mo ago
Today a new version of vscode has been released (1.88). This version does work with the new version of the Vue extension. I would recommend you update vscode and use the newer version of the Vue extension
Gawel91
Gawel914mo ago
Ha great thank you for the follow up It works! Thank you.