Closed steefaan closed 7 months ago
When I run anchor build I get the following error message:
anchor build
error: no such command: `+solana` Cargo does not handle `+toolchain` directives. Did you mean to invoke `cargo` through `rustup` instead?
solana --version
solana-cli 1.17.0 (src:660e41a8; feat:2241946265, client:SolanaLabs)
anchor --version
anchor-cli 0.29.0
Do you have an idea how I can fix this?
I removed it with brew and installed it with curl instead. Now it works for me.
brew
curl
When I run
anchor build
I get the following error message:solana --version
anchor --version
Do you have an idea how I can fix this?