4

I have installed VS Code version 1.8.1. Machine is Windows 7, 64 bit. While installing ionide-fsharp extension, I am getting error "end of central directory record signature not found". It seems version 1.7.2 of VS Code works, however this issue probably seems fixed for version 1.8.0 see this git link. Any idea on how to get the extn installed?

Thanks

Gama11
  • 31,714
  • 9
  • 78
  • 100
ronilk
  • 303
  • 2
  • 4
  • 14

3 Answers3

4

Found a workaround for this. Downloaded '.vsix' file of ionide-fs from this link. In VS Code Extensions tab, there is an option 'Install from VSIX'. That worked. So in case anyone is unable to install from vscode extensions tab directly(i.e. from Marketplace), they may try this way of installing an extension.

Just for information, I was getting the same error for version 1.7.2 of vscode as well while trying to install from Marketplace.

ronilk
  • 303
  • 2
  • 4
  • 14
  • 1
    As an alternative one can check that the extension is not being installed behind corporate proxy, changing to a public network (if possible) and reinstalling may solve the issue. It did for me. – KD2ND Feb 04 '18 at 10:27
2

Seems there were bugs that exist in past versions, due to the embedded browser and other reasons; these have since been fixed.

The above solution seems a common way to install a troublesome plugin.

However, there is a long standing reason for this error, running out of disk space. As of v1.54.1 (2021/03) and it turns out this can happen if your disk/home folder can run out of space during download OR install.

https://github.com/microsoft/vscode/issues/118711

2

I was able to resolve this problem by eliminating the following folders.

C:\Users\UserName\AppData\Roaming\Code\CachedExtensionVSIXs
C:\Users\UserName\AppData\Roaming\Code\CachedData

Attempting to directly download and install the VSIX produced the same issue, thus I presume vscode ignores the download if a VSIX is already cached.

Vishnu
  • 3,899
  • 2
  • 18
  • 19