subnut / nvim-ghost.nvim

:ghost: GhostText plugin for Neovim with zero dependencies :tada: Supports neovim running inside WSL too! :partying_face: Windows/Linux/macOS supported out-of-the-box! :smile: (Other OSes need python3.6+ installed)
MIT License
165 stars 6 forks source link

[Apple M1] Process failed to start #59

Open arthurbailao opened 8 months ago

arthurbailao commented 8 months ago

I'm getting the following error:

E903: Process failed to start: Unknown system error -86: "/Users/arthurbailao/.local/share/nvim/lazy/nvim-ghost.nvim/nvim-ghost-binary"

Executing the binary directly, I got this:

exec: Failed to execute process './nvim-ghost-binary': Bad CPU type in executable.

Using a Apple M3 Pro.

subnut commented 8 months ago

Sorry. You could use the plugin in this way until the issue is resolved -
https://github.com/subnut/nvim-ghost.nvim?tab=readme-ov-file#other-operating-systems

The binary being executed is built by GitHub Action runners, which run on Intel. It seems, as of now there are no ARM-based GitHub runners unfortunately.

EDIT: Apparently there's macos-14 runner in beta, and it runs on M1.

arthurbailao commented 8 months ago

I can try to send a PR adding this runner to the CI matrix. What do you think?

EDIT: You suggestion worked!