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

gleam remove requires a working network connection #3887

Open
joshi-monster opened this issue Nov 24, 2024 · 0 comments
Open

gleam remove requires a working network connection #3887

joshi-monster opened this issue Nov 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@joshi-monster
Copy link
Contributor

joshi-monster commented Nov 24, 2024

While on a train, I noticed that I cannot remove packages while being offline:

$ gleam remove gleam_stdlib
Resolving versions
error: Dependency resolution failed

An error occurred while determining what dependency packages and
versions should be downloaded.
The error from the version resolver library was:

Unable to determine package versions: error sending request for url
(https://repo.hex.pm/packages/gleeunit)

I can't think of a case where deleting a package would change the resolved versions of the other installed packages, since all their versions are locked in the manifest anyways. Dependencies are also recorded in the manifest, so removing transitive packages should also be possible without calling hex again. ~ 💜

@joshi-monster joshi-monster added the bug Something isn't working label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant