Open olimdzhon opened 1 month ago
@olimdzhon Please make sure docker is running as the rename.sh script uses docker. this needs to be added somewhere as it's not there in any docs I referred.
@nakul91 are you sure? i can't see any docker command inside this script...
@olimdzhon in Makefile they are using it
@nakul91 yep you was right... thanks a lot
started docker and it's worked
@nakul91
any idea why proto-gen not working? i have installed all prerequisites
@olimdzhon add the authentic GitHub user name ex: github.com/olimdzhon/checkers
@nakul91
not working also...
hard reset once and remove all untracked/stagged to commit files once try -> git clean -fd and try again
@nakul91 same results after reset and clean
@nakul91 Sorry bro that i'm pinnig you each time))) i find out that protogen script ends with wrong commands and comment them...
After that it tries connect to my github however i don't have such repo or modules... maybe if i setup ssh key and everything will work but i'm not sure...
I don't think it's required, are you sure the docker is running !
@nakul91 If you mean docker itself... yes it's running...
i believe this docker run command from make file not executing because of errors...
before running
$make proto-gen
you have to comment out below line
- cp -r github.com/alice/checkers/* ./
+ # cp -r github.com/alice/checkers/* ./
check it here - https://tutorials.cosmos.network/hands-on-exercise/0-native/2-build-module.html
@nakul91 yes i'm trying to learn from this tutorials, i tried both commented and commented out this lines in proto-gen but still can't generate modules because have this errors
Running MODULE_NAME=alice/checkers ./scripts/rename.sh on the repo root gives
~/minimal-module-example# MODULE_NAME=alice/checkers ./scripts/rename.sh Generating protobuf files... make: run: Command not found make: *** [Makefile:31: proto-gen] Error 127