Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Dependencies could not be installed" error when installing the VS Live Share w/multiple windows open #124

Closed
Chuxel opened this issue Mar 5, 2018 · 12 comments

Comments

@Chuxel
Copy link
Member

Chuxel commented Mar 5, 2018

Product and Version [VS/VSCode]: VS Code
OS Version [macOS/Windows]: Any (found on MacOS)
Live Share Extension Version: 0.2.163
Target Platform or Language [e.g. Node.js]:

Steps to Reproduce / Scenario:

  1. Start Visual Studio Code and open multiple windows
  2. Install the VS Live Share Extension
  3. Reload

Expected: VS Live Share starts and share / sign in buttons available
Actual: Live Share does not initialize or a message appears stating that dependencies could not be installed. (e.g. Failed at stage: installPackages - Dependency download failed. Error: EEXIST: file already exist)
Workaround: Uninstall, close all windows, restart VS Code and install with only one window open and reload.

@lostintangent
Copy link
Member

This has been resolved in the 0.2.206 release of the VS Code extension.

@olivercodes
Copy link

This issue has resurfaced. I'm on Mac High Sierra and tried the following:

  1. reinstalling vs code
  2. reinstall vs code insiders
  3. deleteing every file on my system associate with vs code and vs code live share (such as the .vscode folder under ~/, and then installing a fresh copy of VS Code
  4. I tried changing networks, including:
  • work network
  • work guest network
  • my home network
  • my phone's tether

No matter what, I always get the "dependencies could not be installed" message

@Chuxel
Copy link
Member Author

Chuxel commented Jul 2, 2018

@olivercodes Apologies for the delayed response but you'd replied to a closed issue so we missed it.

Is the issue you are running into when you have multiple windows open or in general? This particular issue is about multiple VS Code windows being open. Are you behind a proxy by chance?

@olivercodes
Copy link

olivercodes commented Jul 2, 2018

@Chuxel Apologies, I should have opened a new issue. And yup, it was a proxy problem. Forgot I had changed my npm proxy settings when working with a private npm instance. Removed those settings and live share installed without issue.

Thanks!!

@Chuxel
Copy link
Member Author

Chuxel commented Jul 2, 2018

@olivercodes Awesome! Glad to hear it wasn't a regression!

@altimmons
Copy link

I have this issue but I'm behind a proxy. What can I do?

@elpatron68
Copy link

Same here, Proxy, Microsoft Windows Server 2012 R2. Closing all windows does not help.

@andyorange
Copy link

Same here, too. On OS X.

@obahareth
Copy link

I'm having the same issue on macOS as well, but without proxies.

@daytonellwanger
Copy link
Collaborator

Have you all been hitting this issue due to having multiple windows open? Is the error message you're seeing Failed at stage: installPackages - Dependency download failed. Error: EEXIST: file already exist? Or are you simply seeing the first half - Failed at stage: installPackages - Dependency download failed.?

@altimmons
Copy link

I think I had multiple windows open. Certainly multiple tabs, I gave up after a while.

@daytonellwanger
Copy link
Collaborator

Thanks for the feedback @altimmons . Do you remember which error message you were seeing? Specifically, whether it included the EEXIST code or not? There are two (maybe more) classes of problems here, and that will help disambiguate.

Chuxel pushed a commit that referenced this issue Feb 17, 2019
…s://github.com/microsoftdocs/live-share (branch master) (#124)

* docs: typo fix (#1646)

@@ line 367
old:
```simply needs to hare state button```

@@ line 367
new: ```needs to click the share / session```

* Adding user profile entry to ToC

* fix: docs/reference/manual-join.md (#1697)

- Adjust heading levels not to skip
- joinign -> joining
- indentify -> identify

* fix: Add code fence language to JSON examples (#1692)

* fix: docs/reference/platform-support.md (#1698)

- Double word "the"
- Double word "features"
- Use https for links

* fix: docs/faq.md (#1700)

Use HTTPS for links

* chore: Add MSDocs Authoring Pack suggested extension (#1699)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants