You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure that you have Solana locally in localhost and change all the devnet references to localhost
$ npx anchor localnet
Workspace configuration error: Cluster must be one of [localnet, testnet, mainnet, devnet] or be an http or https url
What I ended up doing was setting this in my Anchor.toml - I'm not 100% sure it's correct (I have little Anchor experience, hence not sending a PR) but it worked:
Just following the instructions:
What I ended up doing was setting this in my
Anchor.toml
- I'm not 100% sure it's correct (I have little Anchor experience, hence not sending a PR) but it worked:Does that sound correct? If so let me know and I will add the to the PR I will send - I have a bunch of small fixes to contribute! 😊
The text was updated successfully, but these errors were encountered: