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

Apple Silicon Not Supported (again?) #1259

Open
after-ephemera opened this issue Feb 28, 2023 · 3 comments
Open

Apple Silicon Not Supported (again?) #1259

after-ephemera opened this issue Feb 28, 2023 · 3 comments

Comments

@after-ephemera
Copy link

  • Did you upgrade to latest plugin version? yes
  • Did you upgrade to/compile latest binary? Run shell command
    bin/languageclient --version to get its version number. This doesn't work because it didn't install.
  • (Neovim users only) Did you check output of :checkhealth LanguageClient? Yes.
  • Did you check troubleshooting? Yes

Describe the bug

In what appears to be a repeat of #1201, the rust-toolchain file prevents Apple Silicon support (not added until 1.49.0).

Environment

  • neovim/vim version (nvim --version or vim --version): 2.1.0-beta3
  • This plugin version (git rev-parse --short HEAD): cf6dd11
  • This plugin's binary version (bin/languageclient --version): N/A
  • Minimal vimrc content (A minimal vimrc is the smallest vimrc that could
    reproduce the issue. Refer to an example here): just the plug definition
  • Language server link and version: N/A

To Reproduce

Steps to reproduce the behavior:

  • Try to PlugInstall on Apple Silicon

Current behavior

Installation fails with Invalid value for argument cmd: '/Users/user/.vim/plugged/LanguageClient-neovim/bin/languageclient' is not executable

Expected behavior

The plugin installs successfully.

Screenshots

N/A

Additional context

N/A

@jonathan-zc
Copy link

This issue maybe cause by rust version not support, I also had similar error when I use LanguageClient on neovim. I change the LanguageClient-neovim rust version fix this. Edit ~/.vim/plugged/LanguageClient-neovim/rust-toolchain file, change to latest rust version 1.69.0.
Hope this can helps you.

@wjdhamilton
Copy link

wjdhamilton commented May 12, 2023

I'm having the same problem on a brand new MacBookPro.

I tried changing the rust version, but it didn't help...

Ah! When I run bin/languageclient --version I get:

No pre-built binary available for Darwin arm64. cargo is not available. Abort.

Maybe a different issue. I'll go and check!

@wjdhamilton
Copy link

Sorry! My problem was fixed with #1236

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

3 participants