New to move and sui.
I am trying to follow the documentation on Sui and attempted to use the command sui move build
to build my move package.
I encountered this error:
Failed to build Move modules: "Unable to resolve packages for package 'my_first_package'".
Attached picture below shows:
- my folder structure in local.
- the content of the .toml file.
- sui cloned locally pointing to
devnet
branch.
I had the same issue, and I realized that the tutorial I was following was using deprecated location.
It went from:
to
A more permanent solution would be to use
sui move new tmp_package
and then look at the auto generatedMove.toml
file.