live-share icon indicating copy to clipboard operation
live-share copied to clipboard

Live share failing to activate

Open wade-montague opened this issue 5 years ago • 48 comments

Issue Type: Bug

Try to open live share session and get error message

command 'liveshare.start' not found

This has only started happening in the last couple of weeks as I'm a regular long term user of liveshare with all of my team

VS Code version: Code 1.43.1 (fe22a9645b44368865c0ba92e2fb881ff1afce94, 2020-03-18T07:01:41.240Z) OS version: Darwin x64 19.3.0

System Info
Item Value
CPUs Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz (4 x 2300)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) 16, 12, 9
Memory (System) 16.00GB (0.21GB free)
Process Argv .
Screen Reader no
VM 0%
Extensions (27)
Extension Author (truncated) Version
lit-html bie 1.11.1
vscode-styled-jsx bla 1.5.0
vscode-eslint dba 2.1.1
es7-react-js-snippets dsz 2.7.0
gitlens eam 10.2.1
vscode-phpmd eco 1.2.0
prettier-vscode esb 3.20.0
file-icons fil 1.0.22
vscode-peacock joh 3.6.0
vscode-styled-components jpo 0.0.29
chat kar 0.32.1
syntax-project-pbxproj mar 0.1.3
vscode-docker ms- 1.0.0
vsliveshare ms- 1.0.1783
vsliveshare-audio ms- 0.1.80
vsliveshare-pack ms- 0.3.4
vscode-react-native msj 0.14.2
vscode-jest Ort 3.1.1
quicktype qui 12.0.46
sass-indented rob 1.5.1
code-settings-sync Sha 3.4.3
autoimport ste 1.5.3
vscodeintellicode Vis 1.2.6
quokka-vscode Wal 1.0.284
vscode-import-cost wix 2.12.0
change-case wma 1.0.0
JavaScriptSnippets xab 1.7.2

(3 theme extensions excluded)

wade-montague avatar Mar 24 '20 10:03 wade-montague

Thanks for reporting this! This seems like an issue with the Live Share extension not activating properly. Could you open up the VS Code dev tools and see if there are any errors related to Live Share in the console?

lostintangent avatar Mar 24 '20 14:03 lostintangent

Sure can If I clear console then try to open this trace happens nothing else.

Error: command 'liveshare.start' not found at u._tryExecuteCommand (workbench.desktop.main.js:sourcemap:3416) at workbench.desktop.main.js:sourcemap:3416 at async t (workbench.desktop.main.js:sourcemap:4370) onDidChangeNotification @ workbench.desktop.main.js:sourcemap:2786 (anonymous) @ workbench.desktop.main.js:sourcemap:2786 fire @ workbench.desktop.main.js:sourcemap:110 addNotification @ workbench.desktop.main.js:sourcemap:2812 error @ workbench.desktop.main.js:sourcemap:3925 onError @ workbench.desktop.main.js:sourcemap:4370 t @ workbench.desktop.main.js:sourcemap:4370 async function (async) t @ workbench.desktop.main.js:sourcemap:4370 (anonymous) @ workbench.desktop.main.js:sourcemap:4370 setTimeout (async) runAction @ workbench.desktop.main.js:sourcemap:4370 run @ workbench.desktop.main.js:sourcemap:4369 run @ workbench.desktop.main.js:sourcemap:1160 elementSelected @ workbench.desktop.main.js:sourcemap:1214 (anonymous) @ workbench.desktop.main.js:sourcemap:1208

wade-montague avatar Mar 24 '20 15:03 wade-montague

From a fresh restart then attempting to open vsshare

2console.ts:137 [Extension Host] (node:10264) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. t.log @ console.ts:137 log.ts:197 ERR No application in the Launch Services database matches the input criteria.: Error: No application in the Launch Services database matches the input criteria. desktop.main.ts:115 [Violation] 'resize' handler took 245ms dom.ts:366 [Violation] 'requestAnimationFrame' handler took 111ms [Violation] Forced reflow while executing JavaScript took 248ms desktop.main.ts:115 [Violation] 'resize' handler took 194ms [Violation] Forced reflow while executing JavaScript took 190ms event.ts:148 [Violation] 'setTimeout' handler took 146ms extensionHost.ts:211 Extension Host extensionHost.ts:212 Debugger attached. extensionHost.ts:211 Extension Host extensionHost.ts:212 (node:10319) DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks instead(node:10319) DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks instead 7[Violation] Added non-passive event listener to a scroll-blocking event. Consider marking event handler as 'passive' to make the page more responsive. See <URL> quickOpenWidget.ts:211 [Violation] 'keydown' handler took 193ms console.ts:137 [Extension Host] hash mistmatch for file(../../../Library/Application Support/Code/User/globalStorage/ms-vsliveshare.vsliveshare/dotnet-3.1.1/libhostfxr.dylib): null, 21ac816b8bea92865569b85bbf2b3f0bd08a8c7e3aef35e2b039e131766b85a9 notificationsAlerts.ts:40 An update or installation of VS Live Share failed due to a corrupted download. Please uninstall and reinstall the extension to resolve. See https://aka.ms/vsls-corrupted-install for more details. onDidChangeNotification @ notificationsAlerts.ts:40 (anonymous) @ notificationsAlerts.ts:26 fire @ event.ts:587 addNotification @ notifications.ts:183 notify @ notificationService.ts:101 (anonymous) @ mainThreadMessageService.ts:83 _showMessage @ mainThreadMessageService.ts:44 $showMessage @ mainThreadMessageService.ts:38 _doInvokeHandler @ rpcProtocol.ts:398 _invokeHandler @ rpcProtocol.ts:383 _receiveRequest @ rpcProtocol.ts:299 _receiveOneMessage @ rpcProtocol.ts:226 (anonymous) @ rpcProtocol.ts:101 fire @ event.ts:587 fire @ ipc.net.ts:453 _receiveMessage @ ipc.net.ts:733 (anonymous) @ ipc.net.ts:592 fire @ event.ts:587 acceptChunk @ ipc.net.ts:239 (anonymous) @ ipc.net.ts:200 t @ ipc.net.ts:28 emit @ events.js:203 addChunk @ _stream_readable.js:295 readableAddChunk @ _stream_readable.js:276 Readable.push @ _stream_readable.js:210 onStreamRead @ internal/stream_base_commons.js:166 abstractExtensionService.ts:396 Activating extension 'ms-vsliveshare.vsliveshare' failed: Agent terminated with exit code: 0 and signal null: A fatal error occurred. The required library libhostfxr.dylib could not be found. If this is a self-contained application, that library should exist in [/Users/username/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.1783/dotnet_modules/]. If this is a framework-dependent application, install the runtime in the global location [/usr/local/share/dotnet] or use the DOTNET_ROOT environment variable to specify the runtime location or register the runtime location in [/etc/dotnet/install_location].

The .NET Core runtime can be found at:

  • https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=osx.10.15-x64. _logMessageInConsole @ abstractExtensionService.ts:396 _logOrShowMessage @ abstractExtensionService.ts:410 $onExtensionActivationError @ mainThreadExtensionService.ts:70 _doInvokeHandler @ rpcProtocol.ts:398 _invokeHandler @ rpcProtocol.ts:383 _receiveRequest @ rpcProtocol.ts:299 _receiveOneMessage @ rpcProtocol.ts:226 (anonymous) @ rpcProtocol.ts:101 fire @ event.ts:587 fire @ ipc.net.ts:453 _receiveMessage @ ipc.net.ts:733 (anonymous) @ ipc.net.ts:592 fire @ event.ts:587 acceptChunk @ ipc.net.ts:239 (anonymous) @ ipc.net.ts:200 t @ ipc.net.ts:28 emit @ events.js:203 addChunk @ _stream_readable.js:295 readableAddChunk @ _stream_readable.js:276 Readable.push @ _stream_readable.js:210 onStreamRead @ internal/stream_base_commons.js:166 abstractExtensionService.ts:396 Activating extension 'johnpapa.vscode-peacock' failed: Agent terminated with exit code: 0 and signal null: A fatal error occurred. The required library libhostfxr.dylib could not be found. If this is a self-contained application, that library should exist in [/Users/username/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.1783/dotnet_modules/]. If this is a framework-dependent application, install the runtime in the global location [/usr/local/share/dotnet] or use the DOTNET_ROOT environment variable to specify the runtime location or register the runtime location in [/etc/dotnet/install_location].

The .NET Core runtime can be found at:

  • https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=osx.10.15-x64. _logMessageInConsole @ abstractExtensionService.ts:396 _logOrShowMessage @ abstractExtensionService.ts:410 $onExtensionActivationError @ mainThreadExtensionService.ts:70 _doInvokeHandler @ rpcProtocol.ts:398 _invokeHandler @ rpcProtocol.ts:383 _receiveRequest @ rpcProtocol.ts:299 _receiveOneMessage @ rpcProtocol.ts:226 (anonymous) @ rpcProtocol.ts:101 fire @ event.ts:587 fire @ ipc.net.ts:453 _receiveMessage @ ipc.net.ts:733 (anonymous) @ ipc.net.ts:592 fire @ event.ts:587 acceptChunk @ ipc.net.ts:239 (anonymous) @ ipc.net.ts:200 t @ ipc.net.ts:28 emit @ events.js:203 addChunk @ _stream_readable.js:295 readableAddChunk @ _stream_readable.js:276 Readable.push @ _stream_readable.js:210 onStreamRead @ internal/stream_base_commons.js:166 abstractExtensionService.ts:396 Cannot activate extension 'Live Share Chat' because it depends on extension 'ms-vsliveshare.vsliveshare', which failed to activate. _logMessageInConsole @ abstractExtensionService.ts:396 _logOrShowMessage @ abstractExtensionService.ts:410 $onExtensionActivationError @ mainThreadExtensionService.ts:70 _doInvokeHandler @ rpcProtocol.ts:398 _invokeHandler @ rpcProtocol.ts:383 _receiveRequest @ rpcProtocol.ts:299 _receiveOneMessage @ rpcProtocol.ts:226 (anonymous) @ rpcProtocol.ts:101 fire @ event.ts:587 fire @ ipc.net.ts:453 _receiveMessage @ ipc.net.ts:733 (anonymous) @ ipc.net.ts:592 fire @ event.ts:587 acceptChunk @ ipc.net.ts:239 (anonymous) @ ipc.net.ts:200 t @ ipc.net.ts:28 emit @ events.js:203 addChunk @ _stream_readable.js:295 readableAddChunk @ _stream_readable.js:276 Readable.push @ _stream_readable.js:210 onStreamRead @ internal/stream_base_commons.js:166 abstractExtensionService.ts:396 Cannot activate extension 'Live Share Audio' because it depends on extension 'ms-vsliveshare.vsliveshare', which failed to activate. _logMessageInConsole @ abstractExtensionService.ts:396 _logOrShowMessage @ abstractExtensionService.ts:410 $onExtensionActivationError @ mainThreadExtensionService.ts:70 _doInvokeHandler @ rpcProtocol.ts:398 _invokeHandler @ rpcProtocol.ts:383 _receiveRequest @ rpcProtocol.ts:299 _receiveOneMessage @ rpcProtocol.ts:226 (anonymous) @ rpcProtocol.ts:101 fire @ event.ts:587 fire @ ipc.net.ts:453 _receiveMessage @ ipc.net.ts:733 (anonymous) @ ipc.net.ts:592 fire @ event.ts:587 acceptChunk @ ipc.net.ts:239 (anonymous) @ ipc.net.ts:200 t @ ipc.net.ts:28 emit @ events.js:203 addChunk @ _stream_readable.js:295 readableAddChunk @ _stream_readable.js:276 Readable.push @ _stream_readable.js:210 onStreamRead @ internal/stream_base_commons.js:166 notificationsAlerts.ts:38 Error: command 'liveshare.start' not found at u._tryExecuteCommand (commandService.ts:80) at commandService.ts:73 at processTicksAndRejections (internal/process/task_queues.js:85) at async t (commandsHandler.ts:325) onDidChangeNotification @ notificationsAlerts.ts:38 (anonymous) @ notificationsAlerts.ts:26 fire @ event.ts:587 addNotification @ notifications.ts:183 error @ notificationService.ts:57 onError @ commandsHandler.ts:356 t @ commandsHandler.ts:334 processTicksAndRejections @ internal/process/task_queues.js:85 async function (async) t @ commandsHandler.ts:325 (anonymous) @ commandsHandler.ts:345 setTimeout (async) runAction @ commandsHandler.ts:345 run @ commandsHandler.ts:303 run @ quickOpenModel.ts:576 elementSelected @ quickOpenWidget.ts:587 (anonymous) @ quickOpenWidget.ts:251 console.ts:137 [Extension Host] rejected promise not handled within 1 second: Error: Agent terminated with exit code: 0 and signal null: A fatal error occurred. The required library libhostfxr.dylib could not be found.If this is a self-contained application, that library should exist in [/Users/username/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.1783/dotnet_modules/].If this is a framework-dependent application, install the runtime in the global location [/usr/local/share/dotnet] or use the DOTNET_ROOT environment variable to specify the runtime location or register the runtime location in [/etc/dotnet/install_location].The .NET Core runtime can be found at: - https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=osx.10.15-x64 t.log @ console.ts:137 $logExtensionHostMessage @ mainThreadConsole.ts:39 _doInvokeHandler @ rpcProtocol.ts:398 _invokeHandler @ rpcProtocol.ts:383 _receiveRequest @ rpcProtocol.ts:299 _receiveOneMessage @ rpcProtocol.ts:226 (anonymous) @ rpcProtocol.ts:101 fire @ event.ts:587 fire @ ipc.net.ts:453 _receiveMessage @ ipc.net.ts:733 (anonymous) @ ipc.net.ts:592 fire @ event.ts:587 acceptChunk @ ipc.net.ts:239 (anonymous) @ ipc.net.ts:200 t @ ipc.net.ts:28 emit @ events.js:203 addChunk @ _stream_readable.js:295 readableAddChunk @ _stream_readable.js:276 Readable.push @ _stream_readable.js:210 onStreamRead @ internal/stream_base_commons.js:166 console.ts:137 [Extension Host] stack trace: Error: Agent terminated with exit code: 0 and signal null: A fatal error occurred. The required library libhostfxr.dylib could not be found.If this is a self-contained application, that library should exist in [/Users/username/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.1783/dotnet_modules/].If this is a framework-dependent application, install the runtime in the global location [/usr/local/share/dotnet] or use the DOTNET_ROOT environment variable to specify the runtime location or register the runtime location in [/etc/dotnet/install_location].The .NET Core runtime can be found at: - https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=osx.10.15-x64 at ChildProcess. (/Users/username/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.1783/out/prod/extension-prod.js:136858:32) at ChildProcess.emit (events.js:208:15) at maybeClose (internal/child_process.js:1021:16) at Socket. (internal/child_process.js:430:11) at Socket.emit (events.js:203:13) at Pipe. (net.js:588:12) t.log @ console.ts:137 $logExtensionHostMessage @ mainThreadConsole.ts:39 _doInvokeHandler @ rpcProtocol.ts:398 _invokeHandler @ rpcProtocol.ts:383 _receiveRequest @ rpcProtocol.ts:299 _receiveOneMessage @ rpcProtocol.ts:226 (anonymous) @ rpcProtocol.ts:101 fire @ event.ts:587 fire @ ipc.net.ts:453 _receiveMessage @ ipc.net.ts:733 (anonymous) @ ipc.net.ts:592 fire @ event.ts:587 acceptChunk @ ipc.net.ts:239 (anonymous) @ ipc.net.ts:200 t @ ipc.net.ts:28 emit @ events.js:203 addChunk @ _stream_readable.js:295 readableAddChunk @ _stream_readable.js:276 Readable.push @ _stream_readable.js:210 onStreamRead @ internal/stream_base_commons.js:166 mainThreadExtensionService.ts:65 [[object Object]]Agent terminated with exit code: 0 and signal null: A fatal error occurred. The required library libhostfxr.dylib could not be found. If this is a self-contained application, that library should exist in [/Users/username/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.1783/dotnet_modules/]. If this is a framework-dependent application, install the runtime in the global location [/usr/local/share/dotnet] or use the DOTNET_ROOT environment variable to specify the runtime location or register the runtime location in [/etc/dotnet/install_location].

The .NET Core runtime can be found at:

  • https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=osx.10.15-x64 $onExtensionRuntimeError @ mainThreadExtensionService.ts:65 _doInvokeHandler @ rpcProtocol.ts:398 _invokeHandler @ rpcProtocol.ts:383 _receiveRequest @ rpcProtocol.ts:299 _receiveOneMessage @ rpcProtocol.ts:226 (anonymous) @ rpcProtocol.ts:101 fire @ event.ts:587 fire @ ipc.net.ts:453 _receiveMessage @ ipc.net.ts:733 (anonymous) @ ipc.net.ts:592 fire @ event.ts:587 acceptChunk @ ipc.net.ts:239 (anonymous) @ ipc.net.ts:200 t @ ipc.net.ts:28 emit @ events.js:203 addChunk @ _stream_readable.js:295 readableAddChunk @ _stream_readable.js:276 Readable.push @ _stream_readable.js:210 onStreamRead @ internal/stream_base_commons.js:166 mainThreadExtensionService.ts:66 Error: Agent terminated with exit code: 0 and signal null: A fatal error occurred. The required library libhostfxr.dylib could not be found. If this is a self-contained application, that library should exist in [/Users/username/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.1783/dotnet_modules/]. If this is a framework-dependent application, install the runtime in the global location [/usr/local/share/dotnet] or use the DOTNET_ROOT environment variable to specify the runtime location or register the runtime location in [/etc/dotnet/install_location].

The .NET Core runtime can be found at:

  • https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=osx.10.15-x64 at ChildProcess. (/Users/username/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.1783/out/prod/extension-prod.js:136858) at ChildProcess.emit (events.js:208) at maybeClose (internal/child_process.js:1021) at Socket. (internal/child_process.js:430) at Socket.emit (events.js:203) at Pipe. (net.js:588) $onExtensionRuntimeError @ mainThreadExtensionService.ts:66 _doInvokeHandler @ rpcProtocol.ts:398 _invokeHandler @ rpcProtocol.ts:383 _receiveRequest @ rpcProtocol.ts:299 _receiveOneMessage @ rpcProtocol.ts:226 (anonymous) @ rpcProtocol.ts:101 fire @ event.ts:587 fire @ ipc.net.ts:453 _receiveMessage @ ipc.net.ts:733 (anonymous) @ ipc.net.ts:592 fire @ event.ts:587 acceptChunk @ ipc.net.ts:239 (anonymous) @ ipc.net.ts:200 t @ ipc.net.ts:28 emit @ events.js:203 addChunk @ _stream_readable.js:295 readableAddChunk @ _stream_readable.js:276 Readable.push @ _stream_readable.js:210 onStreamRead @ internal/stream_base_commons.js:166 console.ts:137 [Extension Host] rejected promise not handled within 1 second: Error: ENOENT: no such file or directory, unlink '/Users/username/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.1783/cascade.json' t.log @ console.ts:137 $logExtensionHostMessage @ mainThreadConsole.ts:39 _doInvokeHandler @ rpcProtocol.ts:398 _invokeHandler @ rpcProtocol.ts:383 _receiveRequest @ rpcProtocol.ts:299 _receiveOneMessage @ rpcProtocol.ts:226 (anonymous) @ rpcProtocol.ts:101 fire @ event.ts:587 fire @ ipc.net.ts:453 _receiveMessage @ ipc.net.ts:733 (anonymous) @ ipc.net.ts:592 fire @ event.ts:587 acceptChunk @ ipc.net.ts:239 (anonymous) @ ipc.net.ts:200 t @ ipc.net.ts:28 emit @ events.js:203 addChunk @ _stream_readable.js:295 readableAddChunk @ _stream_readable.js:276 Readable.push @ _stream_readable.js:210 onStreamRead @ internal/stream_base_commons.js:166 console.ts:137 [Extension Host] stack trace: Error: ENOENT: no such file or directory, unlink '/Users/username/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.1783/cascade.json' t.log @ console.ts:137 $logExtensionHostMessage @ mainThreadConsole.ts:39 _doInvokeHandler @ rpcProtocol.ts:398 _invokeHandler @ rpcProtocol.ts:383 _receiveRequest @ rpcProtocol.ts:299 _receiveOneMessage @ rpcProtocol.ts:226 (anonymous) @ rpcProtocol.ts:101 fire @ event.ts:587 fire @ ipc.net.ts:453 _receiveMessage @ ipc.net.ts:733 (anonymous) @ ipc.net.ts:592 fire @ event.ts:587 acceptChunk @ ipc.net.ts:239 (anonymous) @ ipc.net.ts:200 t @ ipc.net.ts:28 emit @ events.js:203 addChunk @ _stream_readable.js:295 readableAddChunk @ _stream_readable.js:276 Readable.push @ _stream_readable.js:210 onStreamRead @ internal/stream_base_commons.js:166 log.ts:197 ERR ENOENT: no such file or directory, unlink '/Users/username/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.1783/cascade.json': Error: ENOENT: no such file or directory, unlink '/Users/username/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.1783/cascade.json'

wade-montague avatar Mar 24 '20 15:03 wade-montague

Was this issue ever resolved? My co-worker is having a similar issue, I believe.

image

[2020-09-08 10:55:16.130] [renderer1] [error] ENOENT: no such file or directory, unlink '/Users/insertusername/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.2740/cascade.json': Error: ENOENT: no such file or directory, unlink '/Users/insertusername/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.2740/cascade.json'

He has tried uninstalling and reinstalling to no avail.

Jclyoung avatar Sep 22 '20 00:09 Jclyoung

Also having this issue, and I suspect it's potentially an issue with the corporate proxy

mickelsonmichael avatar Sep 29 '20 19:09 mickelsonmichael

That doesn't seem to be our problem as he isn't using the company proxy or VPN

Jclyoung avatar Sep 29 '20 20:09 Jclyoung

I'm having the identical issue, "Agent terminated with exit code: 0 and signal null: A fatal error occurred. The required library libhostfxr.dylib could not be found." in the LiveShare logs, on High Sierra 10.13.6 (which I believe is in the supported category.) Does anyone have leads on why this may be happening? I believe it's an incorrect version of .net problem: https://github.com/dotnet/runtime/issues/2958, might be relevant here.

JamesCraster avatar Oct 27 '20 12:10 JamesCraster

...ok so I had everything working perfectly then for having used the wrong github account I revoked liveshare oauth app and now it does this Error: Agent terminated with exit code: 0 and signal null: A fatal error occurred. The required library libhostfxr.dylib could not be found. and does not ask for the authorization again. hope it helps

edoardoc avatar Nov 13 '20 10:11 edoardoc

[2020-11-26 06:35:43.999 Client I] Passed version check for MacOS: found 19.4.0
[2020-11-26 06:35:44.191 Client.Rpc V] RPCClient.init retryCount:0 currentRetryInterval:0
[2020-11-26 06:35:44.196 Debug.Rpc.Host V] TrackDebugManager created
[2020-11-26 06:35:44.207 Client.Rpc V] Agent connection not completed: Error: connect ENOENT /var/folders/t2/4nh569714lv000jslpwg9khm0000gn/T/CoreFxPipe_vscode.ea6ae76b76839777745dfd591309e6b7; Retrying...
[2020-11-26 06:35:44.216 Client.Rpc V] RPCClient.init retryCount:1 currentRetryInterval:100
[2020-11-26 06:35:44.217 Client.Agent V] Agent lock on:</<redacted>/<redacted>.lock>
[2020-11-26 06:35:44.224 Client.Agent I] starting agent with pipe:vscode.ea6ae76b76839777745dfd591309e6b7
[2020-11-26 06:35:44.224 Client.Agent I] signalR service -> uri:https://signlr-prod.core.vsengsaas.visualstudio.com/api/signalr/signalrhub
[2020-11-26 06:35:44.259 Client.Agent I] Agent terminated with exit code: 0 and signal null: A fatal error occurred. The required library libhostfxr.dylib could not be found.
If this is a self-contained application, that library should exist in [/Users/lucifer/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.3206/dotnet_modules/].
If this is a framework-dependent application, install the runtime in the global location [/usr/local/share/dotnet] or use the DOTNET_ROOT environment variable to specify the runtime location or register the runtime location in [/etc/dotnet/install_location].

The .NET Core runtime can be found at:
  - https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=osx.10.15-x64
[2020-11-26 06:35:44.299 Client.Agent V] Agent unlocked
[2020-11-26 06:35:45.476 Client I] Deactivating extension from background agent startup.
[2020-11-26 06:35:45.478 Client I] Hub connection is being enabled...
[2020-11-26 06:35:45.480 Client I] Client deactivation requested.

hxgqh avatar Nov 26 '20 06:11 hxgqh

The following steps worked for me, after upgrading from an x86 build of vscode-insiders to Darwin arm64 (version 1.53.0-insider) I got the error described above.

  1. Remove the folder: /Users/[your-user]/.vscode/extensions/ms-vsliveshare.vsliveshare-[version]
  2. Disable the extension, VSCode will reload. If it doesn't, reload it manually from the command palette (Ctrl/Cmd-Shift-P, Developer: Reload Window)
  3. The Live Share extension should no longer appear in your list of extensions.
  4. Re-install Live Share from the Marketplace.

I think the issue may stem from the fact that certain architecture-specific definitions or other files are not removed during an uninstall/reinstall process. Removing this folder clears them.

ehamwey avatar Dec 23 '20 18:12 ehamwey

It seems that even I am facing this issue, while today I was testing out the extension before starting a collaborative session with my mate on clicking the live Share button I see an alert popping up saying that "Command 'Live Share: Start Collaboration Session (Share)' resulted in an error (command 'liveshare.start' not found)" Please resolve this issue as soon as possible so that we can use this extension.

thecodetex avatar May 28 '21 07:05 thecodetex

I am having the same issue... Command 'Live Share: Start Collaboration Session (Share)' resulted in an error (command 'liveshare.start' not found)

Please resolve it asap.

SahilKesarwani avatar Jun 09 '21 16:06 SahilKesarwani

Getting the same error (Ubuntu 20.04). The Developer Tools showed an error for live share, something like that it can't find Asp.Net 3.1.14, while 3.1.16 is installed:

$ dotnet --list-runtimes 
Microsoft.AspNetCore.All 2.1.28 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.28 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.16 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.7 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.28 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.16 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.7 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

I was able to get things working again by uninstalling the LiveShare extension and installing it again.

ermshiperete avatar Jul 02 '21 09:07 ermshiperete

I removed the folder ~/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.4531 and re-installed, still doesn't work.

Logs

lafkpages avatar Jul 12 '21 16:07 lafkpages

I had the same problem. I think there is a problem with VSC. I installed VSC and live share from a year ago and it works fine.

DEV-PLUG avatar Jul 29 '21 03:07 DEV-PLUG

Also having similar issues with being unable to start or join a live share. System Specs and Versions:

Mac OS 11.4 (Big Sur)
Apple M1
Liveshare version: ms-vsliveshare.vsliveshare-1.0.4650
VSCode version: 1.59

Error: (parallel error for liveshare.join)

Command 'Live Share: Start Collaboration Session (Share)' resulted in an error (command 'liveshare.start' not found)

VSCode Console Errors:

mainThreadExtensionService.ts:95 Activating extension 'ms-vsliveshare.vsliveshare' failed: Agent terminated with exit code: 0 and signal null: rosetta error: /var/db/oah/c642c66595f5050af26db8f86497ea83caff7cea5a9bcb2361ffa81d0e090b58/d64ddd6afa58348598bf529600b906caa3c7f78501b716972b14cc519700afb1/vsls-agent.aot: attachment of code signature supplement failed: 1.

console.ts:137 [Extension Host] rejected promise not handled within 1 second: Error: ENOENT: no such file or directory, unlink '<my_home_dir>/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.4650/cascade.json'

 ERR command 'liveshare.startFromWelcomeContent' not found: Error: command 'liveshare.startFromWelcomeContent' not found at g._tryExecuteCommand (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:3364)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:3245
    at async h.open (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:631:19260)
    at async s.open (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:631:21182)

ErinGreenhalgh avatar Aug 06 '21 15:08 ErinGreenhalgh

image Command Live Share: Repair Installation worked for me. I hope it helps.

kiso-kiso avatar Aug 11 '21 13:08 kiso-kiso

Thank you @kiso-kiso! Your solution fixed this issue for me.

matikin9 avatar Sep 07 '21 23:09 matikin9

Thank you @kiso-kiso!

vmagalhaes avatar Nov 04 '21 14:11 vmagalhaes

Live Share: Repair Installation does not fix the issue for me when I am attempting to start a live share from within a devcontainer on an M1 Mac. Seems to work outside of the devcontainer.

mrmachine avatar Nov 16 '21 03:11 mrmachine

repairing also did not work for me

nick1702 avatar Nov 23 '21 20:11 nick1702

Thanks @kiso-kiso, Repair Installation works for me.

dacsy avatar Dec 02 '21 03:12 dacsy

Same problem on kali-linux, above solutions doesn't work. Please resolve it it soon.

jk6521 avatar Dec 18 '21 10:12 jk6521

Thanks @kiso-kiso, Repair Installation works for me.

jzhang-0 avatar Jan 07 '22 16:01 jzhang-0

I ended up uninstalling/reinstalling VS Code as described in these instructions from Stack Overflow. It was very annoying to have to re-install my plugins, but the benefit outweighed the cost.

jmdembe avatar Feb 08 '22 17:02 jmdembe

Installing Rosetta 2 fixed this for me.

XDobson avatar Apr 16 '22 23:04 XDobson

I tried to repair installation but didn't works. Now the last thing that remains to do is uninstall all VSC insiders and reinstall it Edit: I tried to uninstall but the problem persists, until now i was working without any problems

yumetsuro avatar May 02 '22 15:05 yumetsuro

I'm using Artix Linux and problem persists even if I completely re-install VSCode or try repairing. I get the error in the screenshot when I try running from Command Palette. My friend uses EndeavourOS and has the same issue too. image

Edit: This should be a new issue because it was working before updating my system fully 1-2 months ago.

unitythemaker avatar May 02 '22 17:05 unitythemaker

I'm using Artix Linux and problem persists even if I completely re-install VSCode or try repairing. I get the error in the screenshot when I try running from Command Palette. My friend uses EndeavourOS and has the same issue too. image

Edit: This should be a new issue because it was working before updating my system fully 1-2 months ago.

Have you tried to get a previous version and use that?

yumetsuro avatar May 02 '22 18:05 yumetsuro

I'm using Artix Linux and problem persists even if I completely re-install VSCode or try repairing. I get the error in the screenshot when I try running from Command Palette. My friend uses EndeavourOS and has the same issue too. image Edit: This should be a new issue because it was working before updating my system fully 1-2 months ago.

Have you tried to get a previous version and use that?

I didn't but I'll try it tomorrow. Can you guide me how can I install an older version of it?

unitythemaker avatar May 04 '22 08:05 unitythemaker