Waog
Waog

Reputation: 7275

VSCode extension installation fails without errors

Problem

Hi, whenever I try to install an extension in VSCode the installation is canceled without any error message showing up.

Before installation Before installation

During Installation During Installation

VSCode jumps back into this state VSCode jumps back into this state

Question

How can I figure out any details about what the problem is? Is there some hidden error log or anything?

A Wild Guess

Im currently on a machine where my administration rights or the proxy configuration may be insufficient. This may be the cause of the problem. Installing an extension manually into the VSCode installation folder, worked.

Upvotes: 0

Views: 506

Answers (1)

Waog
Waog

Reputation: 7275

Solution: Installation via Command Line

Installing extensions using the terminal gives at least some error message:

C:\some\path>code --install-extension some-publisher.some-extension
Found 'msjsdiag.debugger-for-chrome' in the marketplace.
Installing...
Error: socket hang up
    at TLSSocket.onHangUp (_tls_wrap.js:1117:19)
    ...

Finding out some-publisher.some-extension

The publisher and extension can easily be copied from the extension details: enter image description here

Upvotes: 1

Related Questions