g-plane / zsh-yarn-autocompletions

Zsh plugin for Yarn autocompletions.
MIT License
578 stars 18 forks source link

Error `exec format error` #7

Closed mathieutu closed 6 years ago

mathieutu commented 6 years ago
$ 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*
g-plane commented 6 years ago

What is your OS?

g-plane commented 6 years ago

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

mathieutu commented 6 years ago

Raaahhh seriously? Am I as stupid as that?

Yes indeed. Sorry for the inconvenience...