You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the download succeeds, but the error persists, try examining the file:
53
+
If the download fails, your `curl`/`wget` installation might be broken. On Linux, make sure you've installed
54
+
these from your package manager and not via [snap](https://snapcraft.io/), [Flatpak](https://flatpak.org/) or [AppImage](https://appimage.org/). GHCup neither recommends nor supports those tools.
55
+
On Windows, make sure you use `curl.exe` and not `curl` (which is a cmdlet) when testing. It should be pre-installed.
56
+
57
+
If the download succeeds, but the error persists, try examining the file and verify that it's valid YAML:
48
58
49
59
```
50
-
cat $(ghcup whereis cachedir)/ghcup-0.0.7.yaml
60
+
cat "$(ghcup whereis cachedir)/ghcup-0.0.7.yaml"
51
61
```
52
62
53
63
Fix your connection issues, make sure to delete `$(ghcup whereis cachedir)/ghcup-0.0.7.yaml` and then try again.
This error is a combination of [GHCup-00841](https://errors.haskell.org/messages/GHCup-00841/index.html) and `GHCup-05000`.
24
+
Sometimes you may encounter [GHCup-00160](https://errors.haskell.org/messages/GHCup-00160/index.html) instead, depending
25
+
on how you invoked `ghcup`.
24
26
25
-
Reasons for this errors:
27
+
Reasons for this error:
26
28
27
29
* the URL does not point to a valid download (this could be an issue with [GHCup's database of available tools](https://github.com/haskell/ghcup-metadata))
0 commit comments