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

Getting "cannot execute binary file: Exec format error" #494

Closed
kylemh opened this issue Jun 15, 2022 · 1 comment
Closed

Getting "cannot execute binary file: Exec format error" #494

kylemh opened this issue Jun 15, 2022 · 1 comment
Assignees

Comments

@kylemh
Copy link

kylemh commented Jun 15, 2022

Trying to start using Chrome instead of Electron for Cypress so I swapped images (OperationCode/front-end#1620)

I'm using cypress/browsers:node14.17.6-chrome100-ff98 whose base image is cypress/base:node14.17.6 whose base image is buster-slim which uses Debian. So, I swapped from the linux release to the darwin release.

Now, when I call ./cc_test_reporter format-coverage -t lcov -o coverage/codeclimate.json coverage/lcov.info I get: /bin/bash: ./cc_test_reporter: cannot execute binary file: Exec format error

@kylemh
Copy link
Author

kylemh commented Jul 23, 2022

My initial problem was getting a Error: exec: "git": executable file not found in $PATH error during the format step; however, I realized that the Cypress image I used didn't have git installed 🙃

I'll close this. This still seems like an issue, but not one I could easily provide a reproduction for.

@kylemh kylemh closed this as completed Jul 23, 2022
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

2 participants