raydium-io / raydium-cp-swap

Revamped constant product AMM - no Openbook ID requirement, Token22 support
Apache License 2.0
66 stars 45 forks source link

anchor build does not work #1

Closed steefaan closed 7 months ago

steefaan commented 7 months ago

When I run anchor build I get the following error message:

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?

steefaan commented 7 months ago

I removed it with brew and installed it with curl instead. Now it works for me.