octref / polacode

📸 Polaroid for your code
https://marketplace.visualstudio.com/items?itemName=pnp.polacode
6.82k stars 182 forks source link

Code Insiders - `end of central directory record signature not found` #43

Closed NgxDev closed 6 years ago

NgxDev commented 6 years ago

When I try to install the extension on Code Insiders (currently 1.21.0) I get the message:

 end of central directory record signature not found

And the extension doesn't install. I've randomly tried other extensions (not to mention I already have quite a few installed, so I guess it's not a problem with Code).

octref commented 6 years ago

I found this issue: https://github.com/Microsoft/vscode/issues/42229

I'm guessing you are using a proxy server? Anyway this should be reported to VS Code, not this extension.

NgxDev commented 6 years ago

@octref I've found that issue also. But I'm not using a proxy. I didn't mention that I'm not using a proxy because I thought that being able to install any other extension implied that it's not that issue. Anyway, for the time being I've managed to install it from disk, after downloading the extension.

octref commented 6 years ago

@MrCroft Would you mind following up with @joaomoreno at https://github.com/Microsoft/vscode/issues/42229? This could be affecting many other users too.

spences10 commented 6 years ago

Chiming in here, I have the same error when trying to install - I'm not using a proxy either

octref commented 6 years ago

This is a VS Code issue that's possibly caused further upstream by yauzl. See https://github.com/Microsoft/vscode/issues/42229#issuecomment-369305334 if you are interested.

Meanwhile if uninstall -> install does not work, try removing the pnp.polacode-0.2.2 folders from your extension folder and reinstall. If still no luck, try using the VSIX package to install

https://pnp.gallery.vsassets.io/_apis/public/gallery/publisher/pnp/extension/polacode/0.2.2/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage

spences10 commented 6 years ago

Ok, there was no pnp.polacode file or folder in %USERPROFILE%\.vscode\extensions

Tried to load the linked extension and for some reason it won't load in code

I used the code --install-extension to install it and renamed it from what it was to code --install-extension myextension.vsix