diff --git a/docs/versioned_docs/version-v0.50.x/01-setup/03-debugging.md b/docs/versioned_docs/version-v0.50.x/01-setup/03-debugging.md index 59a8c81..83a7807 100644 --- a/docs/versioned_docs/version-v0.50.x/01-setup/03-debugging.md +++ b/docs/versioned_docs/version-v0.50.x/01-setup/03-debugging.md @@ -64,3 +64,15 @@ reboot # if you still get the error ``` Technically you can also `sudo chmod 666 /var/run/docker.sock` but this is NOT advised. --> + +## Generation + +### remote: Repository not found. fatal: reposity not found + +This error is due to not having properly `make proto-gen`ed the project. View the [Application](#running-the-binary-gives-me-panic-reflect-newnil) section for the solution. + +## Application + +### Running the binary gives me `panic: reflect: New(nil)` + +The `make proto-gen` command was either not run, or is causing issues. This could be due to your users permissions or the filesystem. By default, the protoc docker image uses your current users id and group. Try switching as a super user (i.e. `su -`) or fixing your permissions. A very ugly hack is to run `chmod a+rwx -R ./rollchain` where `./rollchain` is the project you generated. This will cause git to change all files, but it does fix it. Unsure of the long term side effects that may come up from this. diff --git a/docs/versioned_docs/version-v0.50.x/02-build-your-application/02-proto-logic.md b/docs/versioned_docs/version-v0.50.x/02-build-your-application/02-proto-logic.md index 56820f6..05ad03d 100644 --- a/docs/versioned_docs/version-v0.50.x/02-build-your-application/02-proto-logic.md +++ b/docs/versioned_docs/version-v0.50.x/02-build-your-application/02-proto-logic.md @@ -72,8 +72,6 @@ proto/nameservice/v1/query.proto These .proto file templates will be converted into Golang source code for you to use. Build the Go source code using the command: ```bash -go clean -modcache - make proto-gen ```