I am attempting to run the HelloWorld solana program. I have cloned this repo. I have started the project with
solana-test-validator
I ran npm install and then was able to build the rust project with
npm run build:program-rust
I can see the .so file in the directory /dist/program/helloworld.so. When I try to deploy the program to solana, I run
solana program deploy dist/program/helloworld.so
And here is the error I get
Error: Dynamic program error: No such file or directory (os error 2)
It can't find the file, but I have verified it is there. I have tried the full path and get the same error. I have tried to clean and reinstall the libs, but it hasn't helped.
What else should I try?