Skip to main content
1 of 2

Anchor Build Depenedency error

I am trying to compile an anchor package and whenever I type anchor build or cargo build-bpf get this error -

error: not a directory: '/Users/madhavgoyal/.local/share/solana/install/releases/1.10.31/solana-release/bin/sdk/bpf/dependencies/bpf-tools/rust/lib'

I have reinstalled cargo and rust quite a few times still not able to figure out how to solve this