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
For the last week or so VSCode has stopped automatic type acqusition for javascript projects.
I have a folder %LOCALAPPDATA%\Microsoft\TypeScript\5.5\node_modules, whenever I installed a package from npm in any project, vscode would automatically get the type definitions from the @types npm repo and store them here.
For the last week or so, there's a new directory in the TypeScript folder, 5.6.
This folder is empty except for a bare package.json.
Since the creation of that folder, and presumably a TypeScript version update, automatic type acquisition has stopped working entirely.
I've tried reinstalling vscode, uninstalling all addons, erasing all settings and deleting %Appdata%/Roaming/Code
Nothing works.
Really frustrating.
Please help!
May be related to microsoft/TypeScript#60156
You can try to install TS 5.5 somewhere locally and point VS Code there. Should fix problem while fix is not released.
Does this issue occur when all extensions are disabled?: Yes
Version: 1.94.0 (user setup)
Commit: d78a74b
Date: 2024-10-02T13:08:12.626Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631
Steps to Reproduce:
For the last week or so VSCode has stopped automatic type acqusition for javascript projects.
I have a folder %LOCALAPPDATA%\Microsoft\TypeScript\5.5\node_modules, whenever I installed a package from npm in any project, vscode would automatically get the type definitions from the @types npm repo and store them here.
For the last week or so, there's a new directory in the TypeScript folder, 5.6.
This folder is empty except for a bare package.json.
Since the creation of that folder, and presumably a TypeScript version update, automatic type acquisition has stopped working entirely.
I've tried reinstalling vscode, uninstalling all addons, erasing all settings and deleting %Appdata%/Roaming/Code
Nothing works.
Really frustrating.
Please help!
TypeScript.zip
The text was updated successfully, but these errors were encountered: