Live-share: Live share not working

Created on 24 Mar 2020  路  10Comments  路  Source: MicrosoftDocs/live-share

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)


acquisition and activation startup product-feedback

All 10 comments

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 event. Consider marking event handler as 'passive' to make the page more responsive. See
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'

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.

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.

  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.

Was this page helpful?
0 / 5 - 0 ratings