0

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 Answers1

0

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/

Jon C
  • 7,019
  • 10
  • 17
  • Actually I am running Git Bash.. – user2918814 Mar 08 '22 at 05:51
  • So much for that... next question would be if there are any program directories in `myepicproject/programs` -- it looks like the tool is trying to build every Cargo.toml under there, ie `myepicproject/programs/program1/Cargo.toml` – Jon C Mar 09 '22 at 13:19