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

xxx/bin/protoc: Bad CPU type in executable #4562

Closed
feng003 opened this issue Jan 11, 2025 · 3 comments
Closed

xxx/bin/protoc: Bad CPU type in executable #4562

feng003 opened this issue Jan 11, 2025 · 3 comments

Comments

@feng003
Copy link

feng003 commented Jan 11, 2025

使用mac mini goctl 生成代码的时候报错
xxx/bin/protoc: Bad CPU type in executable

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


An error occurs when using mac mini goctl to generate code
xxx/bin/protoc: Bad CPU type in executable

@kesonan
Copy link
Collaborator

kesonan commented Jan 15, 2025

it's maybe caused by your terminal, not cause by goctl, you can try search google and maybe give you more solutions.

@kevwan
Copy link
Contributor

kevwan commented Jan 27, 2025

protoc is not part of goctl. You need to install the proper executable of protoc.

@kevwan kevwan closed this as completed Jan 27, 2025
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

No branches or pull requests

4 participants