Getting error after running 'anchor test' after creating my solana program

800 Views Asked by At

Created a basic Solana program using 'anchor init'.

When I run 'anchor test' I get the following errors:

enter image description here

Although, the file Cargo.toml exists in C:\Users\Umair\myepicproject\programs\myepicproject.

What could be the issue?

1

There are 1 best solutions below

2
On

This is likely a problem related to using a non-Bash compatible shell with anchor. Since you're on Windows, try running this through Git Bash or some other Bash-compatible shell: https://gitforwindows.org/