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.
8 Replies
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
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?
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
@Henrik Sjödahl, how much efficiency in comparison to vscode?
Ha yeah something looks wrong
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.
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
Ha great thank you for the follow up
It works! Thank you.