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

Live share failing to activate #3297

Closed
wade-montague opened this issue Mar 24, 2020 · 51 comments
Closed

Live share failing to activate #3297

wade-montague opened this issue Mar 24, 2020 · 51 comments

Comments

@wade-montague
Copy link

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)

@lostintangent
Copy link
Member

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?

@wade-montague
Copy link
Author

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
Copy link
Author

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'

@fubaduba fubaduba self-assigned this Mar 24, 2020
@Jclyoung
Copy link

Jclyoung commented Sep 22, 2020

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.

@mickelsonmichael
Copy link

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

@Jclyoung
Copy link

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

@JamesCraster
Copy link

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: dotnet/runtime#2958, might be relevant here.

@edoardoc
Copy link

edoardoc commented Nov 13, 2020

...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

@hxgqh
Copy link

hxgqh commented Nov 26, 2020

[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.

@ehamwey
Copy link

ehamwey commented Dec 23, 2020

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.

@thecodetex
Copy link

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.

@SahilKesarwani
Copy link

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.

@ermshiperete
Copy link

ermshiperete commented Jul 2, 2021

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.

@lafkpages
Copy link

lafkpages commented Jul 12, 2021

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

Logs

@Davsterl Davsterl changed the title Live share not working Live share failing to activate Jul 18, 2021
@DEV-PLUG
Copy link

DEV-PLUG commented Jul 29, 2021

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.

@ErinGreenhalgh
Copy link

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)

@kiso-kiso
Copy link

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

@matikin9
Copy link

matikin9 commented Sep 7, 2021

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

@vmagalhaes
Copy link

Thank you @kiso-kiso!

@mrmachine
Copy link

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.

@nick1702
Copy link

repairing also did not work for me

@jmdembe
Copy link

jmdembe commented Feb 8, 2022

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.

@XDobson
Copy link

XDobson commented Apr 16, 2022

Installing Rosetta 2 fixed this for me.

@U-n-Own
Copy link

U-n-Own commented May 2, 2022

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

@unitythemaker
Copy link

unitythemaker commented May 2, 2022

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.

@U-n-Own
Copy link

U-n-Own commented May 2, 2022

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?

@unitythemaker
Copy link

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?

@jadequin
Copy link

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.

Got the exact same problem with arch, installing icu69 fixed it for me

@unitythemaker
Copy link

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.

Got the exact same problem with arch, installing icu69 fixed it for me

Can confirm, it's fixed.

@messiias
Copy link

messiias commented May 11, 2022

For me the problem persists even after the repair...

(command 'liveshare.join' not found)

I'm using PopOS 22.04 LTS

@iTrooz
Copy link

iTrooz commented May 11, 2022

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.

Got the exact same problem with arch, installing icu69 fixed it for me

Indeed, installing icu69-bin (AUR) made it work for me

@BlueskyFR
Copy link

Can confirm icu69-bin fixes it on Arch Linux, this has to be fixed asap

@WizardNaiJi
Copy link

Thanks a lot, I use Manjaro and the Arch fix with installing icu69-bin from AUR helped!

@arduinka55055
Copy link

Thanks a lot, I use Manjaro and the Arch fix with installing icu69-bin from AUR helped!

same

@michaelmoreno
Copy link

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.

Got the exact same problem with arch, installing icu69 fixed it for me

Indeed, installing icu69-bin (AUR) made it work for me

Same, running yay -S icu69-bin and then in VSCode doing Ctrl + Shift + P > Repair Installation fixed it for me.

@alexandre-cardoso
Copy link

Can confirm icu69-bin fixes it on Arch Linux, this has to be fixed asap

Same here

@ivenspontes
Copy link

ivenspontes commented Aug 5, 2022

i solved with this

wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo dpkg -i ./libssl1.1_1.1.0g-2ubuntu4_amd64.deb
rm libssl1.1_1.1.0g-2ubuntu4_amd64.deb

@bghira
Copy link

bghira commented Aug 19, 2022

on Gentoo, we have to disable internationalization to use live share. icu69 isn't available. please fix this.

@tychota
Copy link

tychota commented Aug 29, 2022

Same as @bghira

Here are the logs:

[2022-08-29 11:57:25.392] [exthost] [error] Activating extension ms-vsliveshare.vsliveshare failed due to an error:
[2022-08-29 11:57:25.392] [exthost] [error] Error: Agent terminated with exit code: 0 and signal null: Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.at System.Environment.FailFast(System.String)
   at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
   at System.Globalization.GlobalizationMode..cctor()
   at System.Globalization.CultureData.CreateCultureWithInvariantData()
   at System.Globalization.CultureData.get_Invariant()
   at System.Globalization.CultureInfo..cctor()
   at System.String.ToLowerInvariant()
   at System.Text.EncodingHelper.GetCharset()
   at System.Text.EncodingHelper.GetEncodingFromCharset()
   at System.ConsolePal.GetConsoleEncoding()
   at System.Console+<>c.<get_OutputEncoding>b__19_0()
   at System.Threading.LazyInitializer.EnsureInitializedCore[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func`1<System.__Canon>)
   at System.Threading.LazyInitializer.EnsureInitialized[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func`1<System.__Canon>)
   at System.Console.get_OutputEncoding()
   at System.Console.CreateOutputWriter(System.IO.Stream)
   at System.Console+<>c.<get_Out>b__26_0()
   at System.Threading.LazyInitializer.EnsureInitializedCore[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func`1<System.__Canon>)
   at System.Threading.LazyInitializer.EnsureInitialized[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func`1<System.__Canon>)
   at System.Console.get_Out()
   at Microsoft.Extensions.CommandLineUtils.CommandLineApplication..ctor(Boolean)
   at Microsoft.Cascade.Agent.Program..ctor()
   at Microsoft.Cascade.Agent.Program.Main(System.String[])
	at ChildProcess.<anonymous> (/home/tychota/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.5695/out/prod/extension-prod.js:245822:32)
	at ChildProcess.emit (node:events:402:35)
	at maybeClose (node:internal/child_process:1064:16)
	at Socket.<anonymous> (node:internal/child_process:450:11)
	at Socket.emit (node:events:390:28)
	at Pipe.<anonymous> (node:net:687:12)

On gentoo we have libicu 71.1-r1

[I] dev-libs/icu
     Available versions:  71.1-r1(0/71.1)^t{tbz2} {debug doc examples static-libs test verify-sig ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  71.1-r1(0/71.1)^t{tbz2}(11:59:52 10/06/2022)(-debug -doc -examples -static-libs -test -verify-sig ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://icu.unicode.org/
     Description:         International Components for Unicode

icu69 was droped in february. https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-libs/icu?id=f9e554b249cde1ae33d6e09a9fb0b22bcc9aa9c0

@simeon-walker
Copy link

For info I saw this problem on Fedora 36 and fixed it with:
sudo dnf install openssl1.1

@ManohisoaVicky
Copy link

Hi, I'm using Linux Ubuntu 22.04.1. My Live Share is not working. I'm getting the "command liveshare.start not found". I tried some of the solutions given above but none works. Would love some help.

@ermshiperete
Copy link

Hi, I'm using Linux Ubuntu 22.04.1. My Live Share is not working. I'm getting the "command liveshare.start not found". I tried some of the solutions given above but none works. Would love some help.

Try and install libssl1.1 - see #4646 (comment)

@ludoo
Copy link

ludoo commented Sep 2, 2022

What seems to have worked for me was to set a specific dotnet variable:

export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1

Alternatively, on my debian system installing the libicu67 package also seems to fix the issue without the need for the above variable.

@DevDorrejo
Copy link

Hello, i am using openSUSE Tumbleweed, using latest stable version of all packages i am getting liveshare.start not found.

Thanks to @ludoo, this made it work, but is bothersome to exec the IDE from terminal each time, waiting a permanent solution.

export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1

@frederictobiasc
Copy link

@jadequin how did you find out it's icu69 ? ;)

@jadequin
Copy link

@frederictobiasc I checked the dependencies for this package 😄

@derekbekoe
Copy link
Collaborator

We’ve made improvements in this area since this issue was filed (i.e. the vsls-agent process and associated .NET/Linux dependencies have been removed). We believe this may have improved your experience and are closing this issue. If this issue still persists for you, please comment on the issue and let us know. Thank you.

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