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)
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?
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
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
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:
The .NET Core runtime can be found at:
The .NET Core runtime can be found at:
The .NET Core runtime can be found at:
Was this issue ever resolved? My co-worker is having a similar issue, I believe.

[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.
Also having this issue, and I suspect it's potentially an issue with the corporate proxy
That doesn't seem to be our problem as he isn't using the company proxy or VPN
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.
...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
[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.
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.
/Users/[your-user]/.vscode/extensions/ms-vsliveshare.vsliveshare-[version]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.