This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
cargo build - ERROR cargo_build_sbf] Failed to install platform-tools #35688
Labels
community
Community contribution
Problem
I just started a new project using npx solana-create-dapp but I`m unable to do a anchor build due to an issue to download "platform-tools".
ERROR cargo_build_sbf] Failed to install platform-tools: HTTP status client error (404 Not Found) for url (https://github.com/anza-xyz/platform-tools/releases/download/v1.42/platform-tools-osx-x86_64.tar.bz2)
I checked that github and the file name is wrong for that version, there isn't a file like that for x86_64 (1.41 has one but not 1.42).
My solana version is: solana-cli 2.0.16
anchor version is: 0.30.1 (I tried 0.30.0)
Cargo 1.81.0
Proposed Solution
Apperently cargo is looking for the wrong file in that repository.
The text was updated successfully, but these errors were encountered: