neovide: Error while building Neovide on M1 Mac.

I have been wanting to try out Neovide for the past few days. I followed all the instructions in the readme to install it. But when I run cargo build --release I get a huge error.

The error is quite long so I put it in the file below. error.txt

I tried many things but it just doesn’t seem to work

Since this didn’t work I installed the .app file from the releases. After installation when I tried to open it, I get the following error.

Screenshot 2021-06-22 at 9 40 20 PM

After looking at some other issues I went into the Neovide.app/Contents/MacOS directory and ran chmod +x neovide. It started launching after the usual macOS security stuff. But it crashes immediately after launching.

I have Xcode installed. I am running macOS 11.4 on an M1 Mac Mini.

(Btw I used the 0.7.0 version of Neovide. I tried this with other versions too. No luck!)

@Kethku I just wanted to know when the homebrew cask for Neovide will come out. It will be much easier.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 29

Most upvoted comments

I have been wanting to try out Neovide for the past few days. I followed all the instructions in the readme to install it. But when I run cargo build --release I get a huge error.

Please try downloading the prebuilt binary from here: https://github.com/Kethku/neovide/suites/3053893722/artifacts/69453974, it should run natively as well. The download on the releases page is fairly outdated and is still based on the Vulkan platform

Since this didn’t work I installed the .app file from the releases. After installation when I tried to open it, I get the following error.

The issue should be fixed (https://github.com/Kethku/neovide/issues/447) with the latest release

@Kethku I just wanted to know when the homebrew cask for Neovide will come out. It will be much easier.

I’m working on adding homebrew support. We will likely wait until a stable release is created, which should happen very soon. I expect the homebrew cask to be out sometime in the next week or two.

Thats normal behavior, let me know if you run into any other issues!

Assuming your using zsh, open your ~/.zshrc file (e.g. nvim ~/.zshrc) and add the following line

alias neovide="/Users/shauryasingh/IdeaProjects/neovim/neovide/target/release/neovide"

where neovide at the end is the path to the executable. If you have neovide in your application folder, it may look something like

alias neovide="/Applications/Neovide.app/Contents/MacOS/neovide"