You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VS Code's tsserver was deleted by another application such as a misbehaving virus detection tool. Please reinstall VS Code. #72721
Several extensions are causing the error on vscode startup:
VS Code's tsserver was deleted by another application such as a misbehaving virus detection tool. Please reinstall VS Code.
This is being caused by the latest vscode-docker extension, the redhat.java (Language support for Java by RedHat), redhat.vscode-yaml (YAML support by RedHat), esbenp.prettier-vscode (Prettier - Code Formatter) and others
VSCode Version: v1.33.1
OS Version: MacOS Mojave 10.14.4
Steps to Reproduce:
Install certain extension
Startup vscode
Does this issue occur when all extensions are disabled?: No
Mark Pevec (@ggprod) Can you check if the tsserver file has actually been deleted. For macos, it would be under the vs code executable itself:
For 1.33 stable: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js
For insiders: /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js
In the terminal can just run, ls "/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/" and see which files are present in that directory
I had this same error after updating Mac OS and VSCode this am but was able to fix the issue.
VSCode v1.33.1
OS version: Mac Mojave v10.14.4
I checked in the dir that Matt Bierner (@mjbvz) mentioned above and tsserver.js was present.
Steps to fix
Click on the cog in the error message in VSCode which took me to the extension settings, VSCode's bundled typescript/javascript language features extension
It appears that if you disable this built-in extension (say, you want to use flow instead of typescript), you get this error on every application launch. This seems like a regression...
This started happening to me, too — I have disabled the vscode.typescript-language-features extension for the current workspace and get this error on every launch of VS Code.
I do have the tsserver.js present. Running macOS Mojave version 10.14.4 (18E226) and VS Code version 1.33.1 (51b0b28)
Adding Sandeep Somavarapu (@sandy081) since it sounds like the builtin js/ts extension could still be activated even when disabled? Or that installing other extensions is corrupting our extension?
I'm on VSC v1.33.1, macOs 10.13.6, and saw this error today (after 1st system reboot in weeks). The Typescript built-in extension remained in "disabled" state. Restarted VSC a couple times and the error went away.
Activity
up2pixy commentedon Apr 22, 2019
I have same issue today.
mjbvz commentedon Apr 23, 2019
Mark Pevec (@ggprod) Can you check if the tsserver file has actually been deleted. For macos, it would be under the vs code executable itself:
/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.jsIn the terminal can just run,
ls "/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/"and see which files are present in that directorywcjohnson11 commentedon Apr 23, 2019
I had this same error after updating Mac OS and VSCode this am but was able to fix the issue.
I checked in the dir that Matt Bierner (@mjbvz) mentioned above and
tsserver.jswas present.Steps to fix
Click on the cog in the error message in VSCode which took me to the extension settings, VSCode's bundled typescript/javascript language features extension
Click enable for this extension.
Restart VSCode.
ggprod commentedon Apr 23, 2019
Matt Bierner (@mjbvz) Yes, I see the file present and was able to fix the problem via the method wcj (@wcjohnson11) indicates. Thanks!
booc0mtaco commentedon May 2, 2019
It appears that if you disable this built-in extension (say, you want to use flow instead of typescript), you get this error on every application launch. This seems like a regression...
valscion commentedon May 8, 2019
This started happening to me, too — I have disabled the
vscode.typescript-language-featuresextension for the current workspace and get this error on every launch of VS Code.I do have the
tsserver.jspresent. Running macOS Mojave version 10.14.4 (18E226) and VS Code version 1.33.1 (51b0b28)mjbvz commentedon May 8, 2019
Does this also happen in the latest VS Code insiders build?
Adding Sandeep Somavarapu (@sandy081) since it sounds like the builtin js/ts extension could still be activated even when disabled? Or that installing other extensions is corrupting our extension?
valscion commentedon May 9, 2019
For some reason the error has gone away for me ¯\_(ツ)_/¯ I don't think I've updated anything between my message and now.
sandy081 commentedon May 9, 2019
Matt Bierner (@mjbvz) There was a bug recently (last stable) that disabled extensions are getting activated - #71752. This got fixed in insiders.
cweekly commentedon May 16, 2019
I'm on VSC v1.33.1, macOs 10.13.6, and saw this error today (after 1st system reboot in weeks). The Typescript built-in extension remained in "disabled" state. Restarted VSC a couple times and the error went away.
mjbvz commentedon May 16, 2019
I'm closing this a a duplicate of #71752. If you see this when using VS Code 1.34+, please let me know