Quantcast
Channel: Recent Questions - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 8004

Anchor: Cargo Build Failed to install platform-tools

$
0
0

I get this error when running anchor test:

**uanadev@DESKTOP-ED77BQ8:~/workspace/temp-project$ anchor test[2024-09-11T00:53:29.312271366Z ERROR cargo_build_sbf] Failed to install platform-tools: Unable to write "/home/uanadev/.cache/solana/v1.41/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 }) } }**

I have no idea what to do about it. Saw someone with a similar issue at https://github.com/solana-labs/solana/issues/31060, though the item which had failed to install was a different one. The fix for the issue was to manually install the sbf and untar it, but I do not know how to manually install this platform-tool nor if this even is the fix for my problem.

Does anyone know how to install this platform-tool or if there is another fix for this problem?

I'm on Windows 11, WSL: Ubuntu.


Viewing all articles
Browse latest Browse all 8004

Trending Articles