microsoft / live-share

Real-time collaborative development from the comfort of your favorite tools
http://aka.ms/vsls
Creative Commons Attribution 4.0 International
2.28k stars 252 forks source link

[VSCode] Corrupted install of the Live Share extension #180

Closed avanderhoorn closed 2 years ago

avanderhoorn commented 6 years ago

There is currently a known issue with VS Code that can result in a state where the Live Share extension can be corrupted. The current fix is to uninstall the Live Share extension and reinstall it again. If this doesn't fix your issue please, let us know.

If you do run into this issues, before reinstalling, if you could let us know what VSLS extensions exist in the VS Code install location and what files are any VSLS extension folders that do exist, that would be great!

112 is a specific example of this general class of problem.

codycraven commented 6 years ago

I've been having issues where my coworkers couldn't connect to my share - see #179. I then saw this post, uninstalled the extension and re-installed. My coworker (ticket filer for #179) was then able to connect successfully.

Contents of ~/.vscode/extensions before uninstall:

AravindKumar.gherkin-indent-2.0.0           PeterJausovec.vscode-docker-0.0.25          calebporzio.better-phpunit-0.7.0            eamodio.gitlens-8.1.1                   lukehoban.go-0.6.78                 ms-vscode.cpptools-0.16.0               neilbrayfield.php-docblocker-1.3.3          redhat.vscode-yaml-0.0.10
Arjun.swagger-viewer-1.6.0              PeterJausovec.vscode-docker-0.0.26          castwide.solargraph-0.13.0              eamodio.gitlens-8.2.0                   marcostazi.vs-code-vagrantfile-0.0.7            ms-vscode.cpptools-0.16.1               neilbrayfield.php-docblocker-1.4.0          robinbentley.sass-indented-1.4.8
DavidAnson.vscode-markdownlint-0.14.1           andrejunges.handlebars-0.3.0                castwide.solargraph-0.14.1              felixfbecker.php-debug-1.12.2               mrmlnc.vscode-apache-1.1.1              ms-vsliveshare.vsliveshare-0.2.163          neilbrayfield.php-docblocker-1.6.0          thomas-baumgaertner.vcl-0.1.2
EditorConfig.editorconfig-0.12.1            bajdzis.vscode-twig-pack-1.0.0              christian-kohler.path-intellisense-1.4.2        formulahendry.auto-rename-tag-0.0.15            ms-kubernetes-tools.vscode-kubernetes-tools-0.1.6   msjsdiag.debugger-for-chrome-4.2.1          oderwat.indent-rainbow-0.7.2                vscodevim.vim-0.11.2
HookyQR.beautify-1.3.0                  bmewburn.vscode-intelephense-client-0.8.8       dawhite.mustache-1.1.1                  kumar-harsh.graphql-for-vscode-1.9.1            ms-kubernetes-tools.vscode-kubernetes-tools-0.1.7   msjsdiag.debugger-for-chrome-4.2.2          patrys.vscode-code-outline-0.0.13           vscodevim.vim-0.11.3
KnisterPeter.vscode-github-0.27.1           bungcip.better-toml-0.3.2               donjayamanne.python-0.6.7               lukehoban.go-0.6.77                 ms-vscode.cpptools-0.15.0               msjsdiag.debugger-for-chrome-4.3.0          rebornix.ruby-0.17.0                    whatwedo.twig-1.0.2

Contents of ~/.vscode/extensions after re-install:

AravindKumar.gherkin-indent-2.0.0           PeterJausovec.vscode-docker-0.0.26          castwide.solargraph-0.14.1              formulahendry.auto-rename-tag-0.0.15            ms-kubernetes-tools.vscode-kubernetes-tools-0.1.7   msjsdiag.debugger-for-chrome-4.2.2          rebornix.ruby-0.17.0
Arjun.swagger-viewer-1.6.0              andrejunges.handlebars-0.3.0                christian-kohler.path-intellisense-1.4.2        kumar-harsh.graphql-for-vscode-1.9.1            ms-vscode.cpptools-0.15.0               msjsdiag.debugger-for-chrome-4.3.0          redhat.vscode-yaml-0.0.10
DavidAnson.vscode-markdownlint-0.14.1           bajdzis.vscode-twig-pack-1.0.0              dawhite.mustache-1.1.1                  lukehoban.go-0.6.77                 ms-vscode.cpptools-0.16.0               neilbrayfield.php-docblocker-1.3.3          robinbentley.sass-indented-1.4.8
EditorConfig.editorconfig-0.12.1            bmewburn.vscode-intelephense-client-0.8.8       donjayamanne.python-0.6.7               lukehoban.go-0.6.78                 ms-vscode.cpptools-0.16.1               neilbrayfield.php-docblocker-1.4.0          thomas-baumgaertner.vcl-0.1.2
HookyQR.beautify-1.3.0                  bungcip.better-toml-0.3.2               eamodio.gitlens-8.1.1                   marcostazi.vs-code-vagrantfile-0.0.7            ms-vsliveshare.vsliveshare-0.2.163          neilbrayfield.php-docblocker-1.6.0          vscodevim.vim-0.11.2
KnisterPeter.vscode-github-0.27.1           calebporzio.better-phpunit-0.7.0            eamodio.gitlens-8.2.0                   mrmlnc.vscode-apache-1.1.1              ms-vsliveshare.vsliveshare-0.2.307          oderwat.indent-rainbow-0.7.2                vscodevim.vim-0.11.3
PeterJausovec.vscode-docker-0.0.25          castwide.solargraph-0.13.0              felixfbecker.php-debug-1.12.2               ms-kubernetes-tools.vscode-kubernetes-tools-0.1.6   msjsdiag.debugger-for-chrome-4.2.1          patrys.vscode-code-outline-0.0.13           whatwedo.twig-1.0.2

One surprising oddity that I noticed: when I went to the extensions tab I searched "live share" expecting to see the extension with a gear icon. However it appeared with an install icon. I had to remove my search, uninstall the extension from the list of installed extensions, reload, then install the "VS Live Share" extension again. It appeared as though my local VS Live Share was treated completely independent of the VS Live Share in the marketplace.

avanderhoorn commented 6 years ago

In this case where you trying to install/update to 0.2.307?

posva commented 6 years ago

One surprising oddity that I noticed: when I went to the extensions tab I searched "live share" expecting to see the extension with a gear icon. However it appeared with an install icon. I had to remove my search, uninstall the extension from the list of installed extensions, reload, then install the "VS Live Share" extension again. It appeared as though my local VS Live Share was treated completely independent of the VS Live Share in the marketplace.

Was in the same situation but I don't even see the login button in the status bar. I tried disabling all extensions, uninstalling and reinstalling the share extensions while cleaning up its folder in the extensions folder. I'm seeing this in vscode insiders but, in regular vscode, where I didn't have the extension installed, it works just fine. Anything I may need to remove manually in some folder?

codycraven commented 6 years ago

@avanderhoorn I didn't record the version when I performed the update, however looking at my extensions output it does appear to be 0.2.307

Chuxel commented 6 years ago

We just released v0.2.399 that should provide some improvements in this space. It would be interesting to hear if anyone hits this again with this update.

AkshayKalose commented 6 years ago

My friend is trying to connect to my live server session, and he is using VSC on Linux with the latest version v0.2.399. However, he is still facing this issue:

Error:

Error converting value "local" to type 'Microsoft.Cascade.Contracts.ConnectionMode'. Path '[0].connectionMode'.

Steps to Reproduce:

  1. Connect using sharing link
Version Data
extensionName VSLS
extensionVersion 0.2.399
protocolVersion 2.1
applicationName VSCode
applicationVersion 1.22.2
platformName Linux
platformVersion 4.13.0-38-generic
codycraven commented 6 years ago

@AkshayKalose when I encountered this issue it was the host, not the guest that needed an update, what versions is your extension at?

If you do run into this issues, before reinstalling, if you could let us know what VSLS extensions exist in the VS Code install location and what files are any VSLS extension folders that do exist, that would be great!

Windows %USERPROFILE%.vscode\extensions Mac ~/.vscode/extensions Linux ~/.vscode/extensions

AkshayKalose commented 6 years ago

@codycraven I reinstalled to the latest version of VS Live Share on my computer, and this error disappeared on my friend's computer. Thanks!

I use Windows 10, and here are the extensions I have in my folder (this was after the reinstall / but I assume it should be the same before reinstall since I didn't get any new extensions): EditorConfig.editorconfig-0.12.1 mikestead.dotenv-1.0.1 PeterJausovec.vscode-docker-0.0.25 ms-python.python-2018.2.1 PeterJausovec.vscode-docker-0.0.26 ms-python.python-2018.3.1 WallabyJs.quokka-vscode-1.0.116 ms-vscode.cpptools-0.15.0 WallabyJs.quokka-vscode-1.0.120 ms-vscode.cpptools-0.16.1 castwide.solargraph-0.14.1 ms-vsliveshare.vsliveshare-0.2.399 castwide.solargraph-0.16.0 octref.vetur-0.11.7 dbaeumer.jshint-0.10.17 rebornix.ruby-0.18.0 dbaeumer.jshint-0.10.18 redhat.java-0.21.0 formulahendry.code-runner-0.9.3 redhat.java-0.23.0 lablup.live-code-runner-4.3.1 ritwickdey.liveserver-3.2.1 lukasz-wronski.ftp-sync-0.3.3

dullahan8 commented 6 years ago

Fresh install today of VS code and Live Share is the only extension so far on this new CentOS computer. Ran into issues with open file limits that kept crashing Live Share so I increased the ulimits and restarted the computer then this starts happening.

koredefashokun commented 6 years ago

Any permanent fix yet? I uninstalled and reinstalled, but the error persists.

avanderhoorn commented 6 years ago

@korede360 what OS you running? And could you try deleting any live share related extensions from these folders and trying again?

Windows %USERPROFILE%.vscode\extensions Mac ~/.vscode/extensions Linux ~/.vscode/extensions

koredefashokun commented 6 years ago

Worked at first... But no... It's back!

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

avanderhoorn commented 6 years ago

@korede360 Do you know of anything unique or different about your setup that would lead to us having trouble unpacking files?

Fubinator commented 6 years ago

A friend of mine has the same issue on Windows 7. When he first tried to install the extension, VS Code asked him to install .NET Framework 4.6.1

image

This took quite a while (~ 20mins) and after that was finished he reloaded VS Code and got the error. After uninstalling the extension, there were still VS Live Share files in the %USERPROFILE%.vscode\extensions directory as mentioned above. He deleted the files, reinstalled the extension and has the same problem.

I hope this is helpful for finding the Issue

kitlith commented 6 years ago

I had a prompt pop up from the extension saying it was corrupted with a link to this issue. However, uninstalling and reinstalling the plugin did not cause it to go away. After some thought and searching around, I suspect that the issue is that my laptop is a 32 bit laptop (running archlinux32) and 32 bit linux does not appear to be a supported architecture for this extension.

You may want to pop up a more informative dialog than 'this extension appears to be corrupted' in that case. Otherwise, if 32 bit linux is intended to be a supported architecture, then it may help to note that in your documentation.

BradStell commented 6 years ago

Contents of ~/.vscode/extensions on a mac

 alexcvzz.vscode-sqlite-0.3.1
    dariofuzinato.vue-peek-1.0.2
    dbaeumer.vscode-eslint-1.6.1
    dustinsanders.an-old-hope-theme-vscode-3.2.1
    eamodio.gitlens-8.5.6
    equinusocio.vsc-material-theme-2.4.2
    jprestidge.theme-material-theme-1.0.1
    letrieu.expand-region-0.1.2
    mauve.terraform-1.3.7
    mikestead.dotenv-1.0.1
    miramac.vscode-exec-node-0.5.0
    ms-vscode.cpptools-0.19.0
    ms-vscode.go-0.6.91
    ms-vsliveshare.vsliveshare-0.3.834
    octref.vetur-0.13.0
    peterjausovec.vscode-docker-0.3.1
    robertohuertasm.vscode-icons-7.27.0
    sdras.vue-vscode-snippets-1.3.0
    trinm1709.dracula-theme-from-intellij-0.2.7
    yummygum.city-lights-theme-1.0.11
Tbhesswebber commented 5 years ago

I was having this same issue, which I assumed was being caused by my awkward setup. My $VSCODE/User/settings.json and ~/.vscode/extensions folders are both sym-linked from a shared partition on my machine, but a solution above solved it regardless.

For anyone new who encounters this:

  1. Uninstall the extension from the marketplace
  2. Open a new terminal and run cd ~/.vscode/extensions (%USERPROFILE%.vscode\extensions for Windows) to navigate into the containing directory (your directory may live somewhere else if you are an idiot like me who decides to be difficult)
  3. Use the command ls to list the contents of your current directory and then look for "ms-vsliveshare.vsliveshare-x.x.x" (those x's are numbers representing the version)
  4. If nothing matching the above is in your folder, I have no words for you. If it does exist, remove it - on mac and Linux, you just need to type rm -r <the name of the file>.
  5. Reinstall VS Live Share from the marketplace and then reload VSCode, looking for the "Live Share" indicator in the bottom status bar.
  6. Rejoice. Open a beer. And some code.
MathyFurret commented 5 years ago

Got this issue on Windows 10. I've already joined someone's live session before fine, but now when it tries to update it's saying it's corrupted.

Here's my extensions folder: image

frank-dspeed commented 5 years ago

i simply delete that stuff i am happy that i did not use it and i will use a virtual machine if needed to workaround that no worrys we expect such errors from microsoft only microsoft is able to show a Video when you PC Crashes that says hey your PC Crashed :D

rdourado commented 5 years ago

Got this issue on Mac OS Mojave. Uninstalling/reinstalling did not work. Here is the content of my extensions folder:

ashiqkiron.gutensnip-1.0.5
dawhite.mustache-1.1.1
dbaeumer.vscode-eslint-1.8.0
digitalbrainstem.javascript-ejs-support-0.4.1
dotjoshjohnson.xml-2.4.0
editorconfig.editorconfig-0.13.0
esbenp.prettier-vscode-1.8.1
espresso3389.insert-file-0.0.2
fabiospampinato.vscode-optimize-images-1.1.0
glen-84.sass-lint-1.0.4
hookyqr.jsdoctagcomplete-0.0.2
ikappas.phpcs-1.0.5
jakebathman.mysql-syntax-1.3.1
mrorz.language-gettext-0.1.1
ms-python.python-2019.1.0
ms-python.python-2019.2.5416
ms-python.python-2019.2.5433
ms-vsliveshare.vsliveshare-0.3.1256
persoderlind.vscode-phpcbf-0.0.8
robinbentley.sass-indented-1.5.1
stevencl.adddoccomments-0.0.8
avanderhoorn commented 5 years ago

@rdeltcheva If you delete the ms-vsliveshare.vsliveshare folder and try again does that help?

AndresHurtadoRMT commented 5 years ago

https://code.visualstudio.com/docs/editor/extension-gallery

  1. code --uninstall-extension ms-vsliveshare.vsliveshare-pack
  2. code --uninstall-extension ms-vsliveshare.vsliveshare-audio
  3. code --uninstall-extension ms-vsliveshare.vsliveshare
  4. Command Pallete >Developer: Reload Window
  5. Reinstall latest
jamescasbon commented 5 years ago

I see this consistently trying to instlal live share on a remote ssh host.

Reinstalling does not work.

eamodio.gitlens-9.9.1
ms-python.python-2019.6.24221 ms-vscode.cpptools-0.24.1 ms-vsliveshare.vsliveshare-1.0.614 mutantdino.resourcemonitor-1.0.6 twxs.cmake-0.0.17 vector-of-bool.cmake-tools-1.1.3

pkeogan commented 5 years ago

ms-python.python-2019.6.24221

you ever get live share to work with remote-ssh?

deinhofer commented 5 years ago

I also tried to reinstall it on a Raspberry Pi 2 with Raspbian with Remote Development Extension. Now a get this issue: My list of extensions is:


johnpapa.vscode-peacock-3.1.6            ms-vsliveshare.vsliveshare-pack-0.3.4         vscjava.vscode-java-pack-0.8.0
karigari.chat-0.28.0                     redhat.java-0.52.0                            vscjava.vscode-java-test-0.21.0
ms-vsliveshare.vsliveshare-1.0.1122      visualstudioexptteam.vscodeintellicode-1.2.0  vscjava.vscode-maven-0.19.1
ms-vsliveshare.vsliveshare-1.0.1123      vscjava.vscode-java-debug-0.23.0
ms-vsliveshare.vsliveshare-audio-0.1.66  vscjava.vscode-java-dependency-0.6.0```
DanJ210 commented 4 years ago

I'm getting this issue and I have reinstalled only to be met with the same message.

If you do run into this issues, before reinstalling, if you could let us know what VSLS extensions exist in the VS Code install location and what files are any VSLS extension folders that do exist, that would be great!

I understand the first part of what's in the extensions folder but I'm not sure about the second part. I've got too many extensions to write down but here's a screenshot of all of them.

extensions1 extensions2

andremacola commented 4 years ago

I am trying to install the live share on a remote server (I am using remote development pack) and I can't find what I am doing wrong. The remote server is 18.04.3 LTS and Local is OSX Mojave

I only have the Live Share and Remote Development pack extension

Captura de Tela 2019-12-11 às 00 56 10

Edit: Fixed removing all related vscode files in /tmp. For some reason VSCode didn't have permission to change/view some specific files in that folder. So I deleted all and I let vscode creating new files.

Edit2 I think I figure out what happened. I run multiple users (developers) on the same remote server, each one with their own user. Only the first one who enabled the VSCode Live Share after reboot or deleting the VSCode files in /tmp folder is able to use, even if the Live Share is closed. Only the first use is able to reopen the Live Share again.

Edit3 /tmp files on remote server and not on local machine.

Was I clear enough? English is not my primary language.

Sebbs128 commented 4 years ago

Received the popup notification in VSCode today. Windows 10 Pro 1903 (10.0.18362), VS Code v1.41.1 (user setup).

VSLS folders in %userprofile%.vscode\extensions:

.ms-vsliveshare.vsliveshare-1.0.471                                        ms-vsliveshare.vsliveshare-1.0.1056
ms-vsliveshare.vsliveshare-1.0.1456                                        ms-vsliveshare.vsliveshare-1.0.988
ms-vsliveshare.vsliveshare-audio-0.1.80                                    ms-vsliveshare.vsliveshare-pack-0.3.2
ms-vsliveshare.vsliveshare-pack-0.3.3                                      ms-vsliveshare.vsliveshare-pack-0.3.4

Reinstall of VSLS appears fine so far. No change to the content of the extensions folder.

geoffrey4444 commented 4 years ago

I also have this problem. I run a remote server that multiple users would like to host live sharing on, but only the first user who tries to install it succeeds. The others get the corrupted download error.

aracpyon commented 4 years ago

Edit: Fixed removing all related vscode files in /tmp. For some reason VSCode didn't have permission to change/view some specific files in that folder. So I deleted all and I let vscode creating new files.

Edit2 I think I figure out what happened. I run multiple users (developers) on the same remote server, each one with their own user. Only the first one who enabled the VSCode Live Share after reboot or deleting the VSCode files in /tmp folder is able to use, even if the Live Share is closed. Only the first use is able to reopen the Live Share again.

Hi! I have the exact same problem! My live share has been working fine til yesterday and all of sudden it's not working. What files exactly did you remove from /.tmp?

JamesLivengood commented 4 years ago

I'm having this problem just as of a couple days ago, on Mac, I have these files in that folder:

ms-mssql.mssql-1.8.0                robinbentley.sass-indented-1.5.1
ms-vscode.atom-keybindings-3.0.6        sianglim.slim-0.1.2
ms-vscode.vscode-typescript-tslint-plugin-1.2.3 waderyan.gitblame-3.0.1
ms-vsliveshare.vsliveshare-1.0.1482

I also uninstalled and re-installed the plug-in and getting the same error

setaskin commented 4 years ago

@JamesLivengood , which version of Mac are you using ? ( We don't support Sierra) Linking the issue with #3124

Also, your logs may provide us with helpful information. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.

JamesLivengood commented 4 years ago

@setaskin I'm on Sierra! That must be the issue, I'll upgrade. Here are my logs in case they'd still be useful: Live Share Logs.zip

marcandrewb commented 4 years ago

Also on Sierra and running into this issue as well logs.zip

andremacola commented 4 years ago

Edit: Fixed removing all related vscode files in /tmp. For some reason VSCode didn't have permission to change/view some specific files in that folder. So I deleted all and I let vscode creating new files. Edit2 I think I figure out what happened. I run multiple users (developers) on the same remote server, each one with their own user. Only the first one who enabled the VSCode Live Share after reboot or deleting the VSCode files in /tmp folder is able to use, even if the Live Share is closed. Only the first use is able to reopen the Live Share again.

Hi! I have the exact same problem! My live share has been working fine til yesterday and all of sudden it's not working. What files exactly did you remove from /.tmp?

I cant remember the specific files right now. I just deleted all files. The folder is on remote server and not in your local machine.

embarq commented 4 years ago

Hi all. Reinstall does not help in my case.

VS Code metadata:

Version: 1.41.1
Commit: 26076a4de974ead31f97692a0d32f90d735645c0
Date: 2019-12-18T14:57:51.166Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 16.7.0

I see following logs at Output > Log (Extension Host):

[exthost] [error] Activating extension ms-vsliveshare.vsliveshare failed due to an error:
[exthost] [error] Error: Agent terminated with exit code: 0 and signal null: dyld: lazy symbol binding failed: Symbol not found: _syslog$DARWIN_EXTSN
  Referenced from: /Users/user/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.1510/dotnet_modules/System.Native.dylib
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _syslog$DARWIN_EXTSN
  Referenced from: /Users/user/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.1510/dotnet_modules/System.Native.dylib
  Expected in: /usr/lib/libSystem.B.dylib
    at ChildProcess.<anonymous> (/Users/user/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.1510/out/prod/extension-prod.js:124967:32)
    at ChildProcess.emit (events.js:205:15)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:430:11)
    at Socket.emit (events.js:200:13)
    at Pipe.<anonymous> (net.js:586:12)
fubaduba commented 4 years ago

This issue has been closed due to no recent activity. We have made many updates to Live Share since this issue, and incorporated a lot of the feedback. Please re-open the issue if the problem still persists. Live Share team🎈

garrettw commented 4 years ago

I just got this issue on macOS Mojave (10.14.6) and VS Code 1.42.0.

Contents of ~/.vscode/extensions before trying uninstall & reinstall:

ahdesign.language-antlers-0.0.4
alefragnani.bookmarks-10.7.0
alefragnani.project-manager-10.10.0
bmewburn.vscode-intelephense-client-1.3.9
britesnow.vscode-toggle-quotes-0.3.2
christian-kohler.npm-intellisense-1.3.0
christian-kohler.path-intellisense-1.4.2
codezombiech.gitignore-0.6.0
coenraads.bracket-pair-colorizer-1.0.61
cssho.vscode-svgviewer-2.0.0
dbaeumer.vscode-eslint-2.0.15
dotjoshjohnson.xml-2.5.0
eamodio.gitlens-10.2.0
ecmel.vscode-html-css-0.2.3
editorconfig.editorconfig-0.14.4
eg2.tslint-1.0.44
felixfbecker.php-debug-1.13.0
felixfbecker.php-intellisense-2.3.14
finico.vscode-theme-sunrise-2.2.0
formulahendry.auto-close-tag-0.5.6
formulahendry.auto-complete-tag-0.1.0
formulahendry.auto-rename-tag-0.1.1
formulahendry.code-runner-0.9.15
gamunu.vscode-yarn-1.7.0
grapecity.gc-excelviewer-2.1.32
gruntfuggly.todo-tree-0.0.167
hookyqr.beautify-1.5.0
hoovercj.vscode-power-mode-2.2.0
ikappas.composer-0.7.1
jakebathman.mysql-syntax-1.3.1
juniormucciolo.drupal-7-snippets-0.0.7
karyfoundation.theme-karyfoundation-themes-20.0.3
knisterpeter.vscode-github-0.30.3
korekontrol.saltstack-0.0.6
liximomo.sftp-1.12.9
mads-hartmann.bash-ide-vscode-1.4.0
marcostazi.vs-code-drupal-0.0.12
mblode.twig-language-2-0.9.0
mehedidracula.php-namespace-resolver-1.1.8
michelemelluso.gitignore-1.0.1
mike-flanigan.daobeam-1.3.12
mikestead.dotenv-1.0.1
momosct.momotheme-1.0.0
mrmlnc.vscode-doiuse-1.6.0
mrmlnc.vscode-scss-0.9.0
ms-azuretools.vscode-docker-0.10.0
ms-vsliveshare.vsliveshare-1.0.1510
neilbrayfield.php-docblocker-2.1.0
nhoizey.gremlins-0.15.1
nickdodd79.gulptasks-1.3.1
nkzq.sass-variables-helper-0.2.0
oderwat.indent-rainbow-7.4.0
pauloamgomes.drupal7-hooks-snippets-0.0.2
pflannery.vscode-versionlens-0.24.0
pkief.material-icon-theme-3.9.2
pkief.material-icon-theme-3.9.3
ramyaraoa.sass-helper-0.0.2
redhat.vscode-yaml-0.6.1
ryu1kn.partial-diff-1.4.1
shan.code-settings-sync-3.4.3
shinnn.stylelint-0.51.0
shyykoserhiy.vscode-spotify-3.1.0
sleistner.vscode-fileutils-3.0.1
teamwork.twp-1.0.17
tobiasalthoff.atom-material-theme-1.9.0
wakatime.vscode-wakatime-2.2.1
wakatime.vscode-wakatime-2.3.0
wongjn.php-sniffer-1.2.2
xabikos.javascriptsnippets-1.7.2
zhuangtongfa.material-theme-3.2.2
johnramsden commented 4 years ago

Issue occurred on Arch Linux on two systems this week.

~/.vscode/extensions

asabil.meson-1.2.0
bbenoist.Nix-1.0.1
bungcip.better-toml-0.3.2
coolbear.systemd-unit-file-1.0.6
davidanson.vscode-markdownlint-0.34.0
dhoeric.ansible-vault-0.1.3
formulahendry.auto-close-tag-0.5.6
foxundermoon.shell-format-7.0.1
ginfuru.ginfuru-vscode-jekyll-syntax-0.1.0
ginfuru.vscode-jekyll-snippets-0.9.1
hangxingliu.vscode-nginx-conf-hint-0.1.0
hookyqr.beautify-1.5.0
ibm.output-colorizer-0.1.2
idleberg.nsis-3.25.0
idleberg.nsis-plugins-1.3.0
idleberg.textile-0.1.5
james-yu.latex-workshop-8.7.1
jinsihou.diff-tool-0.0.1
johnpapa.vscode-peacock-3.3.1
karigari.chat-0.31.0
lextudio.restructuredtext-117.0.0
michaelnewton.textile-preview-1.0.2
ms-azuretools.vscode-cosmosdb-0.12.1
ms-azuretools.vscode-docker-0.10.0
mshr-h.veriloghdl-1.0.4
ms-python.python-2020.1.58038
ms-vscode.azure-account-0.8.8
ms-vscode.cpptools-0.26.3
ms-vscode.powershell-2020.1.0
ms-vscode-remote.remote-containers-0.101.0
ms-vscode-remote.remote-ssh-0.49.0
ms-vscode-remote.remote-ssh-edit-0.49.0
ms-vscode-remote.remote-wsl-0.42.3
ms-vscode-remote.vscode-remote-extensionpack-0.19.0
ms-vsliveshare.vsliveshare-1.0.1510
ms-vsliveshare.vsliveshare-audio-0.1.80
ms-vsliveshare.vsliveshare-pack-0.3.4
panicbit.cargo-0.2.3
redhat.java-0.55.1
rust-lang.rust-0.7.0
searking.preview-vscode-2.0.3
shakram02.bash-beautify-0.1.1
shan.code-settings-sync-3.4.3
shanoor.vscode-nginx-0.6.0
sidneys1.gitconfig-2.0.1
stkb.rewrap-1.9.1
streetsidesoftware.code-spell-checker-1.7.22
timonwong.shellcheck-0.9.0
trixnz.vscode-lua-0.12.4
visualstudioexptteam.vscodeintellicode-1.2.5
vscjava.vscode-java-debug-0.24.0
vscjava.vscode-java-dependency-0.8.0
vscjava.vscode-java-pack-0.8.1
vscjava.vscode-java-test-0.22.1
vscjava.vscode-maven-0.21.0
yzane.markdown-pdf-1.4.1
zignd.html-css-class-completion-1.19.0

Couldn't reinstall it correctly, started receiving warnings again.

After, same versions.

vike2000 commented 4 years ago

If you do run into this issues, before reinstalling, if you could let us know …

Here? I guess:

… what VSLS extensions exist in the VS Code install location …

Using ls -1 ~/.vscode/extensions \@ macos10.13.6 (high sierra)

anseki.vscode-color-0.4.5
bmewburn.vscode-intelephense-client-1.3.7
bmewburn.vscode-intelephense-client-1.3.9
coenraads.bracket-pair-colorizer-1.0.61
davidanson.vscode-markdownlint-0.33.0
davidanson.vscode-markdownlint-0.34.0
dbaeumer.vscode-eslint-1.9.1
dbaeumer.vscode-eslint-2.0.15
dotjoshjohnson.xml-2.5.0
eamodio.gitlens-10.2.0
eamodio.gitlens-10.2.1
eg2.tslint-1.0.44
fabiospampinato.vscode-browser-refresh-1.1.5
felixfbecker.php-debug-1.13.0
felixfbecker.php-intellisense-2.3.14
formulahendry.docker-explorer-0.1.6
formulahendry.docker-extension-pack-0.0.1
mads-hartmann.bash-ide-vscode-1.4.0
mikestead.dotenv-1.0.1
mrmlnc.vscode-apache-1.2.0
ms-azuretools.vscode-docker-0.10.0
ms-azuretools.vscode-docker-0.9.0
ms-python.python-2020.1.58038
ms-vscode.cpptools-0.26.3
ms-vscode.cpptools-0.26.3-insiders3
ms-vsliveshare.vsliveshare-0.3.709
ms-vsliveshare.vsliveshare-1.0.1482
ms-vsliveshare.vsliveshare-1.0.1510
octref.vetur-0.12.6
octref.vetur-0.23.0
peterjausovec.vscode-docker-0.2.0
peterjausovec.vscode-docker-0.3.0
royaction.color-manager-0.5.4
symbaslikedef-spirits
vangware.dark-plus-material-2.2.2
vangware.dark-plus-material-2.2.3
waderyan.gitblame-3.0.1

All installed from inside VS Code (VSC), except: symbaslikedef-spirits, being an old one of mine (non-public) that just "contributes" one little object per {"commands":…, and "keybindings": …}, so I doubt it'd interfere w/ this issue..

vsls-logs200211.zip

My guess on what caused this would be that my cpu stalled during the prev startup of VSC (and subsequent VSLS upgrade/install every startup), and I "force quit" VSC..

After clicking the extension's uninstall, reload, and install buttons, it works opening a link from a friend.

diff'ing the ls -1 after reinstall, the listings are identical.

PS: I didn't really test anything before uninstall, trusting the notification on corruption.


BTW:

@DanJ210 commented on 27 Nov 2019

[…] let us know what VSLS extensions exist in the VS Code install location and what files are any VSLS extension folders that do exist, that would be great!

I understand the first part of what's in the extensions folder but I'm not sure about the second part. […]

I agree.


Peace.

LayZeeDK commented 4 years ago

Reinstalling the previous version fixes it for me on Windows 10.

MrSonicMaster commented 4 years ago

Reinstalling extention, reloading window in various configurations, deleting files located at %userprofile%/.vscode/extentions fails to solve the issue. After every step, restarting and deleting and whatnot, installing live share again still results in a link to this page "https://aka.ms/vsls-corrupted-install." update: The current, latest version of vsls releasted yesterday appears to cause causes this unrepairable and undesirable issue, the developers apparently released a borked version of vsls to the public. Downgrading to the next-latest version solves it instantly in case anyone has issues.

serverhorror commented 4 years ago

I'm seeing this in the Log (Extension Host):

[2020-02-13 15:02:28.098] [exthost] [error] Activating extension ms-vsliveshare.vsliveshare failed due to an error:
[2020-02-13 15:02:28.098] [exthost] [error] Error: Agent terminated with exit code: 0 and signal null: A fatal erroroccurred. The required library hostfxr.dll could not be found.
If this is a self-contained application, that library should exist in [c:\Users\marcherm\.vscode\extensions\ms-vsliveshare.vsliveshare-1.0.1587\dotnet_modules\].
If this is a framework-dependent application, install the runtime in theglobal location [C:\ProgramFiles (x86)\dotnet] or use the DOTNET_ROOT(x86) environment variable to specify the runtime location or register the runtime location in [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation].
    at ChildProcess.<anonymous> (c:\Users\marcherm\.vscode\extensions\ms-vsliveshare.vsliveshare-1.0.1587\out\prod\extension-prod.js:128779:32)
    at ChildProcess.emit (events.js:205:15)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:430:11)
    at Socket.emit (events.js:200:13)
    at Pipe.<anonymous> (net.js:586:12)

Steps to Reproduce / Scenario:

  1. Start VS Code
  2. See error
    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.
  3. Uninstall Live Share Extension Pack
  4. Exit VS Code completely
  5. Install Live Share Extension Pack
  6. See error
    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.

    3178, #180

LayZeeDK commented 4 years ago

The Live Share extension is the one that needs to be downgraded. You might need to opt out of the Live Share Extension Pack extension and install them one by one.

brunojuliao commented 4 years ago
  • Windows %USERPROFILE%.vscode\extensions

Just one correction: Windows %USERPROFILE%\.vscode\extensions

(it's not a big deal, but if someone try that quickly, will get an error message and might take some time to realize it's just a missing "\".)

garrettw commented 4 years ago

huh? that looks exactly the same

brunojuliao commented 4 years ago

Thanks for pointing that out @garrettw . It seems that "\" + "." gets parsed as just ".". When I doubled the "\" it show up properly. EDIT: It happened again with backslash alone... Had to edit and double it to get displayed.

frank-dspeed commented 4 years ago

@brunojuliao next time use ``` text ```

shows up like this

Windows %USERPROFILE%\.vscode\extension
luisipv7 commented 4 years ago

/.vscode/extensions

abdelaziz18003.quasar-snippets-1.0.0 af4jm.vscode-m3u-1.0.0 alan.stylus-0.0.4 alefragnani.bookmarks-10.7.0 andys8.jest-snippets-1.7.0 bmewburn.vscode-intelephense-client-1.3.9 brenosolutions.sqlformatter-0.0.7 chaunceykiwi.json-tree-view-2.6.0 christian-kohler.npm-intellisense-1.3.0 christian-kohler.path-intellisense-1.4.2 coenraads.bracket-pair-colorizer-1.0.61 dariofuzinato.vue-peek-1.0.2 dbaeumer.vscode-eslint-2.0.15 digitalbrainstem.javascript-ejs-support-1.3.1 donjayamanne.githistory-0.5.2 dotjoshjohnson.xml-2.5.0 dracula-theme.theme-dracula-2.19.2 dskwrk.vscode-generate-getter-setter-0.5.0 dsznajder.es7-react-js-snippets-2.5.0 eamodio.gitlens-10.2.1 editorconfig.editorconfig-0.14.4 eg2.vscode-npm-script-0.3.11 esbenp.prettier-vscode-3.17.0 esbenp.prettier-vscode-3.20.0 fabianlauer.vs-code-xml-format-0.1.5 firsttris.vscode-jest-runner-0.4.15 formulahendry.auto-close-tag-0.5.6 formulahendry.auto-rename-tag-0.1.1 johnpapa.vscode-peacock-3.3.1 jpoissonnier.vscode-styled-components-0.0.28 kokororin.vscode-phpfmt-1.0.30 mechatroner.rainbow-csv-1.5.0 miramac.vscode-exec-node-0.5.1 ms-azuretools.vscode-docker-0.10.0 ms-ceintl.vscode-language-pack-pt-br-1.42.2 ms-mssql.mssql-1.8.0 ms-vscode.csharp-1.21.11 ms-vscode.vscode-typescript-tslint-plugin-1.2.3 ms-vsliveshare.vsliveshare-1.0.1587 ms-vsliveshare.vsliveshare-pack-0.3.4 naumovs.color-highlight-2.3.0 nickdemayo.vscode-json-editor-0.2.3 nicoespeon.abracadabra-3.2.0 octref.vetur-0.23.0 oliversturm.fix-json-0.1.2 orta.vscode-jest-3.1.1 pkief.material-icon-theme-3.9.3 prograhammer.tslint-vue-1.5.6 quicktype.quicktype-12.0.46 redhat.vscode-yaml-0.7.2 richie5um2.vscode-sort-json-1.18.0 rocketseat.rocketseatreactjs-2.2.0 rocketseat.rocketseatreactnative-2.2.0 sdras.night-owl-1.1.3 sdras.vue-vscode-extensionpack-0.2.0 sdras.vue-vscode-snippets-1.8.0 sequoia.loopback-json-schemas-1.0.0 shan.code-settings-sync-3.4.3 simonmosesonazi.quasar-v1-snippets-1.0.2 sirtori.indenticator-0.6.0 syler.sass-indented-1.7.5 sysoev.language-stylus-1.11.0 telerik.nativescript-0.11.0 tombonnike.vscode-status-bar-format-toggle-2.0.0 tomoki1207.pdf-0.5.1 visualstudioexptteam.vscodeintellicode-1.2.5 wallabyjs.quokka-vscode-1.0.262 wallabyjs.quokka-vscode-1.0.277 wayou.vscode-todo-highlight-1.0.4 wmaurer.vscode-jumpy-0.3.1 xabikos.javascriptsnippets-1.7.2

garrettw commented 4 years ago

@frank-dspeed also `` around the text, like this