I had the same problem;

Go to 'c:\Users\hp\.vscode\extensions\extensions.json' on your computer and rename the extensions.json file you can add an extra s to make it extensionss.json. Then go back to vscode and install the extension of your choice, a new extensions.json file will be created.

You can go ahead and delete the extensionss.json file.

All the best!

Answer from Emmanuel Kwoba on learn.microsoft.com
Top answer
1 of 2
5

I don't know how this happened, but I ran into the same issue. I just checked the output of Log (Shared) in the vs code terminal, and I saw the following:

[2019-10-04 11:53:59.071] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:53:59.075] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:53:59.343] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:53:59.345] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:53:59.627] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:53:59.630] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:53:59.771] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:53:59.776] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:54:00.034] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:54:00.036] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:54:00.184] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:54:00.186] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:54:00.472] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:54:00.475] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:54:00.760] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:54:00.762] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:54:00.911] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:54:00.914] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:54:01.174] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:54:01.176] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:54:01.381] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:54:01.383] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'

Idk what this file is, but I checked, and it had the following permissions:

 $ ls -lhatr /Users/sgtpooki/.vscode/extensions
total 8
drwxr-xr-x   3 sgtpooki  ANT\Domain Users    96B Jul 17 11:39 ..
drwxr-xr-x  11 sgtpooki  ANT\Domain Users   352B Aug  1 12:39 orta.vscode-jest-3.0.2
drwxr-xr-x  11 sgtpooki  ANT\Domain Users   352B Aug 14 21:18 esbenp.prettier-vscode-1.9.0
drwxr-xr-x  11 sgtpooki  ANT\Domain Users   352B Aug 16 15:45 jvandyke.vscode-circleci-0.5.0
drwxr-xr-x  11 sgtpooki  ANT\Domain Users   352B Aug 20 12:58 dbaeumer.vscode-eslint-1.9.1
drwxr-xr-x  19 sgtpooki  ANT\Domain Users   608B Aug 21 16:18 gruntfuggly.todo-tree-0.0.142
drwxr-xr-x  11 sgtpooki  ANT\Domain Users   352B Aug 21 16:18 fabiospampinato.vscode-github-notifications-bell-2.3.0
drwxr-xr-x  26 root     ANT\Domain Users   832B Aug 22 16:00 jebbs.plantuml-2.11.2
drwxr-xr-x  15 root     ANT\Domain Users   480B Aug 23 12:18 esbenp.prettier-vscode-1.10.0
drwxr-xr-x  10 root     ANT\Domain Users   320B Aug 23 13:11 myxvisual.vscode-ts-uml-1.0.4
drwxr-xr-x  12 sgtpooki  ANT\Domain Users   384B Aug 23 13:11 .
-rw-r--r--   1 root     ANT\Domain Users    37B Aug 26 11:14 .obsolete

So I deleted it.. then I tried installing the extension again:

[2019-10-04 11:54:13.024] [sharedprocess] [info] Starting to clean up unused language packs.
[2019-10-04 11:55:20.951] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:55:23.088] [sharedprocess] [info] Downloaded extension: myxvisual.vscode-ts-uml /var/folders/0j/swbv2kwd7mgbhtp39k6dk94w277jgc/T/4288560a-75a5-4066-ba05-44cdbd470e3a
[2019-10-04 11:55:23.115] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml Unable to delete the existing folder '/Users/sgtpooki/.vscode/extensions/myxvisual.vscode-ts-uml-1.0.4' while installing the extension 'myxvisual.vscode-ts-uml'. Please delete the folder manually and try again

soo... then I deleted that folder:

sudo rm -rf /Users/sgtpooki/.vscode/extensions/myxvisual.vscode-ts-uml-1.0.4

Then I tried installing the extension again and it worked.

[2019-10-04 11:56:02.127] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:56:02.472] [sharedprocess] [info] Downloaded extension: myxvisual.vscode-ts-uml /var/folders/0j/swbv2kwd7mgbhtp39k6dk94w277jgc/T/7fd93d6c-a5eb-4191-8935-cd7f349a769a
[2019-10-04 11:56:03.052] [sharedprocess] [info] Extracted extension to /Users/sgtpooki/.vscode/extensions/.myxvisual.vscode-ts-uml-1.0.4: myxvisual.vscode-ts-uml
[2019-10-04 11:56:03.053] [sharedprocess] [info] Renamed to /Users/sgtpooki/.vscode/extensions/myxvisual.vscode-ts-uml-1.0.4
[2019-10-04 11:56:03.054] [sharedprocess] [info] Installation completed. myxvisual.vscode-ts-uml
[2019-10-04 11:56:03.094] [sharedprocess] [info] Extensions installed successfully: myxvisual.vscode-ts-uml

I have no idea how I got into this state, but I did, and out of all of the similar issues found online, no one else seems to have run into this particular version, but hopefully this helps you solve your issue.

At the very least, check the output tab in the vs code terminal, and toggle the different terminals in the top right:

2 of 2
1
  1. Go to Control Panel > Network and Sharing Center > Choose Change Adapter Settings (On the left)
  2. Choose the network you're using (Your WiFi or Ethernet)
  3. Go to properties > Choose Internet Protocol Version 4 (TCP/IPv4)
  4. Choose the following DNS server adresses:
    • Prefered DNS server : 8.8.8.8
    • Alternate DNS server : 8.8.4.4
  5. Press OK and find Internet Protocol Version 6 (TCP/IPv6)
  6. Choose the following DNS server adresses:
    • Prefered DNS server : 2001:4860:4860::8888
    • Alternate DNS server : 2001:4860:4860::8844
  7. Press OK and one more OK to save these changes

This will fix the problem

Discussions

I cannot install any extensions.
I get this error. Downloaded the VSIX file, installed it, and I get this error. More on reddit.com
🌐 r/vscode
8
5
December 29, 2023
c# - Unable to Install Visual Studio Code Extensions - Stack Overflow
I raised this as an issue on the VSCode github I just installed Visual Studio Code to try it out, but I ran into a problem almost immediately when trying to install any extension (following this). ... More on stackoverflow.com
🌐 stackoverflow.com
VS code extension failing to install
When I am installing any vs code extension inside vs code it shows failed to install "extension name" and recommends me to download manually. After installing manually it still does not install. Please help me. More on learn.microsoft.com
🌐 learn.microsoft.com
1
0
Failed to install '[extensions-name]' Download Manually
VSCode Version: 1.51.1 (system setup) OS Version: Windows 10 20H2 Version: 1.51.1 (system setup) Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f Date: 2020-11-10T23:34:32.027Z Electron: 9.3.3 Chro... More on github.com
🌐 github.com
2
December 7, 2020
🌐
GitHub
github.com › microsoft › vscode › issues › 84937
failed to install extensions · Issue #84937 · microsoft/vscode
November 15, 2019 - Issue Type: Bug ii cannot install any extension !! gave me this message failed to install 'extension name' download manually *also i tried multiple versions of vs code but still same VS Code version: Code 1.40.1 (8795a98, 2019-11-13T16:4...
Author   Madkour17
🌐
Reddit
reddit.com › r/vscode › i cannot install any extensions.
r/vscode on Reddit: I cannot install any extensions.
December 29, 2023 - I also tried the vscode.dev and it worked fine for my end. I was even able to install the Python extension on that. Sometimes, but most of the time I have stable internet speeds. (20-50 mbps) Idk how to check ping properly, but I found this website LOL Ping Test and mine is 250 for the NA servers. I got the VSIX that I manually downloaded from this site and yes I can still access it.
🌐
Microsoft Learn
learn.microsoft.com › en-us › answers › questions › 1302776 › vs-code-extension-failing-to-install
VS code extension failing to install - Microsoft Q&A
When I am installing any vs code extension inside vs code it shows failed to install "extension name" and recommends me to download manually. After installing manually it still does not install. Please help me.
🌐
GitHub
github.com › microsoft › vscode › issues › 112014
Failed to install '[extensions-name]' Download Manually · Issue #112014 · microsoft/vscode
December 7, 2020 - I installed a fresh install of vscode using system setup · And then i want to install some extensions like "ESLint" for example · But it cannot install and I got a popup message saying "Failed to install '[extensions-name]'. Download Manually" Like this · I've been searching on the internet and they're saying that I have to change DNS configuration, but it didn't work ·
Author   daffarahman
Find elsewhere
🌐
GitHub
github.com › microsoft › vscode › issues › 78783
Cannot install any extension · Issue #78783 · microsoft/vscode
September 8, 2019 - VSCode Version: 1.37.0 (user setup) OS Version: win 10 1903 · Steps to Reproduce: 1.the search of extension work fine 2.if open or download any extension, will failed · Does this issue occur when all extensions are disabled? yes · Reactions are currently unavailable ·
Author   beemensameh
🌐
The Windows Club
thewindowsclub.com › the windows club › general › unable to install extensions in visual studio code
Unable to install extensions in Visual Studio Code
July 8, 2023 - To do the same, first of all, close Visual Studio Code. For that, open Task Manager, right-click on VS Code, and select End Task. Once you have closed the app, open File Explorer, and go to the following location.
🌐
GitHub
github.com › microsoft › vscode › issues › 86331
Failed to install error message when I try any extension install · Issue #86331 · microsoft/vscode
December 4, 2019 - Issue Type: Bug When I try to install any Visual Studio Code extension I get error message "Failed to install" with a button to download manually. I tried install manually and it work but why insta...
Author   izac3d
🌐
Medium
medium.com › @garhy.ahmed › vscode-extensions-download-fails-resolved-f318507ea411
VScode Extensions Download Fails (Resolved) | by Ahmed Garhy | Medium
September 13, 2019 - VScode Extensions Download Fails (Resolved) One of the many times I run into an issue with a tool or software that is not behaving normally and I find later after excisive amount of troubleshooting …
🌐
GitHub
github.com › microsoft › vscode › issues › 79245
Cannot download extensions · Issue #79245 · microsoft/vscode
August 15, 2019 - Issue Type: Bug When I click on an extension I won't be downloaded and VS Code says "Failed to install ... " and suggests to download it manually. And when I download the extension manually and install it, it is installed normally. VS Co...
Author   engnaruto
🌐
GitHub
github.com › microsoft › vscode › issues › 74126
Failed to install this extension · Issue #74126 · microsoft/vscode
May 13, 2019 - VSCode Version: 1.34.20-insider (system setup) Local OS Version: Windows_NT x64 6.1.7601 Remote OS Version: NA Remote Extension/Connection Type: SSH Steps to Reproduce: Download and install newest vscode insider Download and install newe...
Published   May 13, 2019
Author   iamchxj
🌐
GitHub
github.com › microsoft › vscode › issues › 178306
Error while installing extensions. · Issue #178306 · microsoft/vscode
March 25, 2023 - After a while Vscode showed "Error while installing 'name of Extension' extension. Please check the [log] for more details." log: [error] CorruptZip: end of central directory record signature not found ... [error] end of central directory record signature not found: CorruptZip: end of central directory record signature not found ... After download manually and try to install from .vsix, vscode showed "end of central directory record signature not found"
Author   Mehdi-Dehghan
🌐
w3tutorials
w3tutorials.net › blog › visual-studio-code-extensions-fail-to-install-says-installing-then-gets-stuck
Visual Studio Code Extensions Stuck on 'Installing'? Troubleshooting Fixes for Windows 10 (v1.8.1) — w3tutorials.net
Run the installer and follow prompts (keep default settings). Launch VS Code and retry the extension installation. If all else fails, manually download the extension as a .vsix file and install it locally.
🌐
GitHub
github.com › microsoft › vscode › issues › 78620
vs code fails to install extensions · Issue #78620 · microsoft/vscode
August 7, 2019 - There was an error while loading. Please reload this page · vs code fails to install or download extensions
Author   sheriftarek24
🌐
YouTube
youtube.com › ourtechroom
How to fix VS CODE Extension Installation Errors | Step-by-Step Guide - YouTube
Are you getting an error when trying to install an extension in VS Code? In this video, I'll show you how to fix the error in a few simple steps.Timeline:00:...
Published   July 6, 2023
Views   3K
🌐
GitHub
github.com › Microsoft › vscode › issues › 67136
I can't install any extensions in vscode. · Issue #67136 · microsoft/vscode
January 25, 2019 - Issue Type: Bug I tried to install an extensions in visual studio code and a pop-up appers that shows (Failed to install 'name of the extension'. and there is call to action button "Download Manually") how to fix it. guide please. VS Cod...
Author   syedhasnainkazmi