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

bug: anchor CLI does not support agave stable versioning #3431

Open
Arrowana opened this issue Dec 17, 2024 · 0 comments
Open

bug: anchor CLI does not support agave stable versioning #3431

Arrowana opened this issue Dec 17, 2024 · 0 comments
Labels
bug Something isn't working cli

Comments

@Arrowana
Copy link
Contributor

Arrowana commented Dec 17, 2024

Problem:
anchor doesn't support agave install versioning in cli

https://solana.com/docs/intro/installation#install-the-solana-cli
this will install stable-{commit} but this leads to a panic on

.any(|line| parse_version(line) == version);

agave-install list
1.18.18
stable-20a8749f7a71ca230bec4ecdbeb292e3d8cd399d
1.18.26
2.0.19

Workaround: Don't install "stable" and cleanup the folder

Possible fix:

  • agave not to install latest stable with this odd folder format but use the release tag
  • consuming agave-install list should not panic on non valid version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli
Projects
None yet
Development

No branches or pull requests

2 participants