Not actionable error message on cargo near build
in a fresh project without git
#230
Labels
cargo near build
in a fresh project without git
#230
cargo near build
command relies on the project being part of a git repository with at least one commit, which causes confusion and build errors for users unfamiliar with this dependency.create-near-app
creates a project without git, but even aftergit init
it is not enough to understand how to build the project:If you are unfamiliar with cargo-near, you would never know that you can use
--no-docker
to build the contract.I suggest improving the output to hint users to commit the changes and about
--no-docker
flag to workaround it until they are ready for deployment (using--no-docker
should not be encouraged for production use)The text was updated successfully, but these errors were encountered: