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

error: no such command: `+solana`

$
0
0

I using anchor init, and after using anchor build to build and I get the error:

info: uninstalling toolchain 'solana'info: toolchain 'solana' uninstallederror: no such command: `+solana`        Cargo does not handle `+toolchain` directives.        Did you mean to invoke `cargo` through `rustup` instead?  Version solana: solana-cli 1.17.13 (src:ef1fb9ec; feat:4006346914, client:SolanaLabs)  Version rustup: rustup 1.27.0 (bbb9276d2 2024-03-08)info: This is the version for the rustup toolchain manager, not the rustc compiler.info: The currently active `rustc` version is `rustc 1.77.0 (aedd173a2 2024-03-17)`

How to fix, please?


Viewing all articles
Browse latest Browse all 7881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>