-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
avm install latest #avm #cli #3131
Comments
Please see the answer in #3126 (comment) |
@jonathanwork after racking my head i found a way to get it working after running cargo install --git https://github.com/coral-xyz/anchor avm --locked --force, and in line 83, update
to
save the file and run
followed by
and check with
if it shows anchor version, we gucci anchor-cli 0.30.1 hope this helps |
IM GUCCI |
Can a PR be raised with this fix?? |
None of the fixes were working for me except this one. Thank you sir, very well done |
It works. Thank you, buddy. |
It works! |
Savior |
thanks it's working fine for me |
I tried doing this but then got another error
any help with this? |
after hours of tinkering finally find a solution go to file with the path as given in terminal
replace method parse_owned with following
|
Thanks. |
time-0.3.29
error[E0282]: type annotations needed for
Box<_>
|
83 | let items = format_items
| ^^^^^
...
86 | Ok(items.into())
| ---- type must be known at this point
|
help: consider giving
items
an explicit type, where the placeholders_
are specified|
83 | let items: Box<_> = format_items
| ++++++++
For more information about this error, try
rustc --explain E0282
.error: could not compile
time
(lib) due to 1 previous errorwarning: build failed, waiting for other jobs to finish...
error: failed to compile
anchor-cli v0.30.0 (https://github.com/coral-xyz/anchor?tag=v0.30.0#852fcc77)
, intermediate artifacts can be found at/tmp/cargo-installEa5d5m
.To reuse those artifacts with a future compilation, set the environment variable
CARGO_TARGET_DIR
to that path.Error: Failed to install 0.30.0, is it a valid version?
The text was updated successfully, but these errors were encountered: