Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Download of vscode-go extension fails due to file corruption detected by anti-virus-scanner #1871

Closed
mapl opened this issue Aug 23, 2018 · 8 comments

Comments

@mapl
Copy link

mapl commented Aug 23, 2018

Please remove or upgrade package.

affected file inside "ms-vscode.go-0.x.xx.vsix":
extension/node_modules/tar/test/ cb-never-called-1.0.1.tgz

Related to
isaacs/node-tar#150

@ramya-rao-a
Copy link
Contributor

  • What anti-virus scanner did you use?
  • How were you installing the extension? From the marketplace in the browser? Marketplace in VS Code? Or via the vsix?

@mapl mapl changed the title Installation of vscode-go extension fails due to file corruption detected by anti-virus-scanner Download of vscode-go extension fails due to file corruption detected by anti-virus-scanner Aug 24, 2018
@mapl
Copy link
Author

mapl commented Aug 24, 2018

I've updated the title because the download fails and not the installation. its actually the anti-virus portion of a network proxy which blocks the download. proxy is symantec

@ramya-rao-a
Copy link
Contributor

  • Do you see the same when downloading other extensions?
  • Are you downloading directly from the marketplace website or VS Code?

@mapl
Copy link
Author

mapl commented Aug 24, 2018

  • no, only vscode-go for now
  • it makes no difference, all available download options fail, since its traversing the proxy which blocks it

@ramya-rao-a
Copy link
Contributor

That same dependency (tar) is used in another extension called vetur by Pine Wu. Can you try downloading that and see if you get the same error?

@mapl
Copy link
Author

mapl commented Aug 24, 2018

confirmed, also fails.
When I try to use Winrar to open it, I also get an error.

cb-never-called-1.0.1.tgz: Unexpected end of archive
node_modules\tar\test\cb-never-called-1.0.1.tgz: The archive is corrupt

@ramya-rao-a
Copy link
Contributor

Turns out that was only a dev dependency, I have pushed a fix. Can you try the below:

@mapl
Copy link
Author

mapl commented Aug 30, 2018

Download working now! Thank you for fixing this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants