2

To reproduce:

anchor init <name> --solidity
anchor build
# output: Error: No such file or directory (os error 2)

I have tried many logging options but none showed any relevant information.

1 Answer 1

3

I am not sure what combination of solana/anchor versions I had but reinstalling the stable one with:

sh -c "$(curl -sSfL https://release.solana.com/stable/install)"

Did the trick.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.