-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
I have been trying to run anchor build for a while now and it is one problem after the other.
Specifications:
rustc 1.90.0 (1159e78c4 2025-09-14)
cargo 1.90.0 (840b83a10 2025-07-30)
solana-cli 3.0.3 (src:9e6bb820; feat:3604001754, client:Agave)
avm 0.29.0
anchor 0.29.0
This is the current error I face when i run anchor build.
[2025-09-24T01:06:22.443332956Z ERROR cargo_build_sbf::toolchain] Failed to install platform-tools: Unable to write "/home/dliteofficial/.cache/solana/v1.51/platform-tools/tmp-platform-tools-linux-x86_64.tar.bz2": Custom { kind: Other, error: reqwest::Error { kind: Body, source: hyper::Error(Body, Custom { kind: UnexpectedEof, error: IncompleteBody }) } }
Before now, I was unable to compile because the anchor was trying to use build-bpf and build-sbf was being recommended. I was using anchor 0.29.0 at this time also.
I am close to giving up on solana dev because I am unable to get the local development right. Any help/support available?