g-plane/zsh-yarn-autocompletions

Error `exec format error`

Closed this issue · 3 comments

$ yarn _yarn_autocompletions_scripts:1: exec format error: /Users/mathieutu/.oh-my-zsh/custom/plugins/yarn-autocompletions/yarn-scripts
_yarn_autocompletions_scripts:1: exec format error: /Users/mathieutu/.oh-my-zsh/custom/plugins/yarn-autocompletions/yarn-scripts
_yarn_autocompletions_scripts:1: exec format error: /Users/mathieutu/.oh-my-zsh/custom/plugins/yarn-autocompletions/yarn-scripts
yarn

Just after installing the plugin and restarting zsh.

$ la $ZSH_CUSTOM/plugins/yarn-autocompletions
total 20992
-rw-r--r--@ 1 mathieutu  staff   1.0K Mar 21 09:43 LICENSE
-rw-r--r--@ 1 mathieutu  staff   796B Mar 21 09:43 README.md
-rw-r--r--@ 1 mathieutu  staff   1.1K Mar 21 09:43 yarn-autocompletions.plugin.zsh
-rwxr-xr-x@ 1 mathieutu  staff   5.1M Mar 21 09:43 yarn-deps*
-rwxr-xr-x@ 1 mathieutu  staff   5.1M Mar 21 09:43 yarn-scripts*

What is your OS?

It seems that you are using macOS but you have downloaded Linux version of binary files.

Raaahhh seriously? Am I as stupid as that?

Yes indeed. Sorry for the inconvenience...