I am at the react stage. However I have some issues when I click on the create counter function. This is the error I get: index.js:1 Transaction simulation failed: Attempt to load a program that does not exist
In my experience, you should deploy program before testing. Please run "anchor deploy" before "anchor test".
When deploying, you should set program id. I hope my experience help you. Happy coding!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I am at the react stage. However I have some issues when I click on the create counter function. This is the error I get: index.js:1 Transaction simulation failed: Attempt to load a program that does not exist
Hello.
In my experience, you should deploy program before testing. Please run "anchor deploy" before "anchor test".
When deploying, you should set program id. I hope my experience help you. Happy coding!