swiftly icon indicating copy to clipboard operation
swiftly copied to clipboard

Cannot uninstall or use toolchain

Open rauhul opened this issue 1 year ago • 2 comments

Whenever I try to remove or change the active toolchain I run into the following error:

➜  project git:(rauhul/vector) ✗ swiftly uninstall 'main-snapshot-2024-10-08'
The following toolchains will be uninstalled:
  main-snapshot-2024-10-08
Proceed? (Y/n): Y

Error: The file "swiftc-legacy-driver" couldn't be opened because there is no such file.

Ended up manually removing and reinstalling swiftly.

rauhul avatar Nov 07 '24 16:11 rauhul

Seems like these sorts of errors shouldn't stop the uninstall process. Maybe they should be warnings, just in case for some reason something got inconsistent in the files...

xtremekforever avatar Jan 04 '25 19:01 xtremekforever

I think that this should be better now. The uninstall is now a mechanism to get corrupted states back into a working one.

cmcgee1024 avatar Mar 27 '25 22:03 cmcgee1024