mehdihadeli / go-food-delivery-microservices

🍕 A practical and imaginary food delivery microservices, built with golang, domain-driven design, cqrs, event sourcing, vertical slice architecture, event-driven architecture, and the latest technologies.
MIT License
891 stars 92 forks source link

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

Open NikOkol opened 2 months ago

NikOkol commented 2 months ago

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.

github-actions[bot] commented 2 months ago

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

mehdihadeli commented 2 months ago

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

NikOkol commented 2 months ago

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 commented 2 months ago

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