- node: 17.0.1
- homebrew: 3.3.2
- npm: 8.1.0
- solana-cli: 1.9.0
install rust
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
clone solana from source
git clone https://github.com/solana-labs/solana.git
cd solana
install coreutils - this fixed the greadit (sp?) error
brew install coreutils
Install Solana from source
./scripts/cargo-install-all.sh .
export PATH=$PWD/bin:$PATH
solana-test-validator should run at this point!
solana config set --url localhost
solana config get
Install Mocha for Anchor
npm install -g mocha
Install anchor
cargo install --git https://github.com/project-serum/anchor anchor-cli --locked
Now use anchor to init a new app!
anchor init myepicproject --javascript
And test!
cd myepicproject/
anchor test
Be a bit patient on this last step, it took quite a while for this to start running for me.
Thank you!
I get this error when I execute
anchor test
I haven't found any fix yet. If you know any information please help