vscode: VS Code extensions suddenly won't load or update/install

Does this issue occur when all extensions are disabled?: N/A

  • VS Code Version: 1.75.0
  • OS Version: Windows 10 version 22H2 build 19045.2486

Everything has been working fine for several years. I used VS Code Thursday (2/2) as usual with no issues. I was OOO Friday but first thing Monday (2/6) I opened VS Code and got several errors from extensions. I tried to update the Python extension since that’s the language that I was using but it also failed. So, I tried uninstalling the extension, which worked, but then when trying to install it again it fails. So, I decided to start over. See below.

Steps to Reproduce:

  1. Renamed the C:\Users\bqd4.vscode directory so a new one would be created
  2. Renamed the %APPDATA%\Code directory so a new one would be created
  3. Uninstalled VS Code
  4. Restarted my workstation
  5. Installed latest version of VS Code (1.75.0)
  6. Started VS Code; Output window contains:
2023-02-07 07:40:53.336 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'github.vscode-pull-request-github' wants API proposal 'commentsResolvedState' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2023-02-07 07:40:53.788 [info] Started initializing default profile extensions in extensions installation folder. file:///c%3A/Users/bqd4/.vscode/extensions
2023-02-07 07:40:54.024 [info] Completed initializing default profile extensions in extensions installation folder. file:///c%3A/Users/bqd4/.vscode/extensions
2023-02-07 07:40:56.960 [info] [perf] Render performance baseline is 48ms
  1. Tried to install the Python extension v2023.2.0 Returns: Error while installing 'Python' extension. Please check the [log](command:workbench.action.showWindowLog) for more details.

The Output (log) contains:

2023-02-07 07:51:02.703 [error] Error: UnhandledException,UnhandledException,UnhandledException
    at vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:89578
    at Array.reduce (<anonymous>)
    at E (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:89564)
    at ne.D (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:80916)
    at async ne.z (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:78417)
    at async ne.installFromGallery (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:74855)
2023-02-07 07:51:02.804 [error] UnhandledException,UnhandledException,UnhandledException: Error: UnhandledException,UnhandledException,UnhandledException
    at vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:89578
    at Array.reduce (<anonymous>)
    at E (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:89564)
    at ne.D (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:80916)
    at async ne.z (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:78417)
    at async ne.installFromGallery (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:74855)

Installing from a vsix file has this result: Returns UnhandledException,UnhandledException

The Output contains:

2023-02-07 08:09:40.102 [error] UnhandledException,UnhandledException: Error: UnhandledException,UnhandledException
    at vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:89578
    at Array.reduce (<anonymous>)
    at E (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:89564)
    at ne.D (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:80916)
    at async ne.z (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:78417)
    at async ne.install (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:90:158273)
  1. Tried to install Docker extension v1.23.3 Returns Error while installing 'Docker' extension. Please check the [log](command:workbench.action.showWindowLog) for more details.

The Output (log) contains:

2023-02-07 07:59:12.131 [error] Signature: UnhandledException
    at yt.download (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:62:17985)
    at async $.h (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:90:171351)
2023-02-07 07:59:12.203 [error] UnhandledException: Signature: UnhandledException
    at yt.download (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:62:17985)
    at async $.h (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:90:171351)
  1. Tried to install the Eclipse Keymap extension v0.16.1 (this is the only extension that installs successfully)
  2. Tried to install the Extension Pack for Java v0.25.7 Returns Error while installing 'Extension Pack for Java' extension. Please check the [log](command:workbench.action.showWindowLog) for more details.

The Output (log) contains:

2023-02-07 08:04:23.373 [error] Error: UnhandledException,UnhandledException,UnhandledException,UnhandledException,UnhandledException
    at vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:89578
    at Array.reduce (<anonymous>)
    at E (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:89564)
    at ne.D (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:80916)
    at async ne.z (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:78417)
    at async ne.installFromGallery (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:74855)
2023-02-07 08:04:23.418 [error] UnhandledException,UnhandledException,UnhandledException,UnhandledException,UnhandledException: Error: UnhandledException,UnhandledException,UnhandledException,UnhandledException,UnhandledException
    at vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:89578
    at Array.reduce (<anonymous>)
    at E (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:89564)
    at ne.D (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:80916)
    at async ne.z (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:78417)
    at async ne.installFromGallery (vscode-file://vscode-app/c:/DEV/Applications/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:88:74855)

At this point I’m out of ideas. What do I need to do to make it work again?

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Reactions: 6
  • Comments: 35 (11 by maintainers)

Most upvoted comments

Well, I’ve retired from my job and this still appears to be an issue. Good luck to everyone getting this error. 😃

The next stable release (next week-ish) will have additional logging for failures like this. The increased verbosity should help diagnose this issue further. To capture this information in the next stable release, open the Command Palette, select “Developer: Set Log Level…”, and select Trace. Then reproduce the extension installation failure. Finally, look in the Shared output window for Extension signature verification details for for the failed extension and share the details on this thread.

The latest insiders release already has this logging. If someone is willing to install latest insiders to provide this information sooner, we’d appreciate it!