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

liveshare.start/liveshare.join commands not found #4651

Closed
m-wright92 opened this issue May 3, 2022 · 7 comments
Closed

liveshare.start/liveshare.join commands not found #4651

m-wright92 opened this issue May 3, 2022 · 7 comments

Comments

@m-wright92
Copy link

m-wright92 commented May 3, 2022

Over the weekend I factory reset my 2021 MacBook Pro 16" M1 Pro Chip, prior to reset had no issues with live share, but after reset and reinstalling everything it appears the live share extension is no longer installing properly.

Model Name: MacBook Pro
Model Identifier: MacBookPro18,1
Chip: Apple M1 Pro
macOS Monterey v 12.3.1
Memory: 16 GB
System Firmware Version: 7459.101.3
OS Loader Version: 7459.101.3

Steps to Reproduce / Scenario:

  1. Go to cmd+shift+p
  2. Type live share start(or join) collaborative session
  3. Run command
  4. See error: Command 'Live Share: Start Collaboration Session (Share)' resulted in an error (command 'liveshare.start' not found)

liveshareissue.zip

Fixes tried:

  1. Uninstalled vscode and all related files in library and .vscode
  2. Fresh installed (tried both universal/apple silicon version)
  3. Fresh installed Live Share extension, it appears to install with no issue and then opens the extension, but neither Join or Share buttons do anything, and trying to manually join or share I get the error listed above.

Image of errors in console after pressing join/share:
image

Vscode version:
image

@ojohnny
Copy link

ojohnny commented May 6, 2022

I'm seeing the exact same issue in Ubuntu 22.04 with Visual Studio Code 1.67.0:

Version: 1.67.0
Commit: 57fd6d0195bb9b9d1b49f6da5db789060795de47
Date: 2022-05-04T12:08:42.978Z
Electron: 17.4.1
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: 9.8.177.13-electron.0
OS: Linux x64 5.15.0-27-generic

I also tried Live Share: Repair Installation from the command palette, but it does not fix the problem. I also removed ~/.vscode and ~/.config/Code and have tried reinstalling Visual Studio Code but nothing seems to help.

It has worked previously on this computer (perhaps one or two weeks ago?), not sure if it broke after I updated to Ubuntu 22.04?

@m-wright92
Copy link
Author

I'm seeing the exact same issue in Ubuntu 22.04 with Visual Studio Code 1.67.0:

Version: 1.67.0
Commit: 57fd6d0195bb9b9d1b49f6da5db789060795de47
Date: 2022-05-04T12:08:42.978Z
Electron: 17.4.1
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: 9.8.177.13-electron.0
OS: Linux x64 5.15.0-27-generic

I also tried Live Share: Repair Installation from the command palette, but it does not fix the problem. I also removed ~/.vscode and ~/.config/Code and have tried reinstalling Visual Studio Code but nothing seems to help.

It has worked previously on this computer (perhaps one or two weeks ago?), not sure if it broke after I updated to Ubuntu 22.04?

I tried every fix I could find across github and stack overflow to no avail. The only way I could get it to work was cloning my partners system with a working copy. Even then I tried to see if I could fresh install and recreate the issue and it did. I can only get it working from a cloned version that works. Somewhere along the line of installation I'm assuming the pathing is getting messed up.

@ojohnny
Copy link

ojohnny commented May 6, 2022

After digging some more, this workaround worked for me in Ubuntu, so not sure if VS Code or Live Share is missing a dependency or something.

#4646 (comment)

@m-wright92 Probably not directly helpful to you seeing as you are on macOS, but maybe installing [email protected] via homebrew could have a similar effect on macOS? 🤔 (perhaps just wishful thinking, but might be worth a try)

@julien-blanchon
Copy link

Same error on Macbook Pro M1 Pro

@derekbekoe
Copy link
Collaborator

This should now be resolved with newer versions of the extension. See #4646 (comment).

@mgalcuadrado
Copy link

I updated to the current version (1.0.5941) and this same error started to pop up. I installed a previous specific version (1.0.5936) and it works fine now. (extensions -> settings -> install specific version)

@Avenster
Copy link

try updating your vs code, it will be fixed.

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

7 participants