Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: package google.golang.org/protobuf/proto is not a main package when running make #107

Open
NikOkol opened this issue Sep 16, 2024 · 4 comments · Fixed by #108
Open

Comments

@NikOkol
Copy link

NikOkol commented Sep 16, 2024

Description:

When attempting to set up the project using make, I encounter the following error:

package google.golang.org/protobuf/proto is not a main package
make: *** [install-tools] Error 1

Environment:

Operating System: MacOS
Go Version: go1.23.1 darwin/amd64

Steps to Reproduce:

  1. Run make in the project directory.
  2. Observe the error message mentioned above.

Expected Behavior:

The project should build successfully without encountering errors related to the package google.golang.org/protobuf/proto.

Additional Information:

Please let me know if there are any specific dependencies or configurations required for compatibility with the Go version mentioned or any other troubleshooting steps I should follow.

Copy link

Welcome to go-food-delivery-microservices. Thank you for reporting your first issue. Please check out our contributor guide.

@mehdihadeli
Copy link
Owner

Hi,
Thanks for the report.
Should work now with installing tools with make install-tools

@NikOkol
Copy link
Author

NikOkol commented Sep 19, 2024

Hi, Thanks for the report. Should work now with installing tools with make install-tools

Hello, Thanks for your reply. But executing this command does not solve my problem. The same error occurs when executing make install-tools.

If you need more details about my system configuration, please let me know.

@mehdihadeli mehdihadeli reopened this Sep 19, 2024
@mehdihadeli
Copy link
Owner

mehdihadeli commented Sep 19, 2024

Hi,
Yes please.
I tested it inside github codespace and Linux, and it works.
Maybe it is related to operating system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants