Skip to main content
formatting changes
Source Link
C.OG
  • 2.9k
  • 1
  • 8
  • 24

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'

**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

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

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

Source Link

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