Languageclient-neovim: I got `languageclient: Not executable!` on starting nvim

Created on 29 Dec 2017  ยท  14Comments  ยท  Source: autozimu/LanguageClient-neovim

Why don't you append chmod u+x bin/$name to install.sh?

Most helpful comment

I had to go into my minpac plugin directory for LanguageClient-neovim and manually run install.sh to get this working...

All 14 comments

The install.sh is already an executable.

You need either run the script to download latest binary or follow the latest installation instruction https://github.com/autozimu/LanguageClient-neovim/blob/next/INSTALL.md#3-install-this-plugin.

The install.sh is an executable. bin/languageclient which is downloaded with install.sh isn't an executable.

Hmm. This is unexpected.

It used to have executable bit previously.

I'm unsure what I need to do to get this working. I have the following configuration in my .vimrc, and per @autozimu suggestion:

Plugin 'autozimu/LanguageClient-neovim', {
  \ 'branch': 'next',
  \ 'do': 'bash install.sh',
  \ }

I am still receiving the following error:

LanguageClient: Not executable!
Press ENTER or type command to continue

I dug around in ~/.vim/bundle/LanguageClient-neovim/install.sh, but I couldn't see what I need to make executable to make it execute.

Can you check if the binary is executable in your host?

You can see previous diff to add executable bit.

Hi @autozimu can you be more specific?

A). Which binary? Can you tell me where to find the binary file so that I can check whether or not it is executable?

B). The previous diff of what? install.sh?

@autozimu if I run locate languageclient on my machine, all of the candidates are related to Visual Studio Code. I'm not seeing any vim-related results. Additionally, this command returns nothing for me:

โฏ find ~/.vim -type f -name 'languageclient'

Any ideas as to where I locate bin/languageclient?

@autozimu regarding the diff, my version of the install.sh has the call to chmod, so I'm not sure what else to do.

@autozimu and future readers, I got this working by manually downloading the release from the GH release page and running:

$ curl --location https://github.com/autozimu/LanguageClient-neovim/releases/download/0.1.25/languageclient-0.1.25-x86_64-apple-darwin --output ~/.vim/bundle/LanguageClient-neovim/bin/languageclient && chmod 755 ~/.vim/bundle/LanguageClient-neovim/bin/languageclient

@wpcarro worked for me thanks! I just replaced the ~/.vim/bundle/ with my plugin manager location, in my case using dein and neovim so... ~/.cache/dein/repos/github.com/autozimu/.

thanks!

I had the same problem and fixed it by replacing

Plugin 'autozimu/LanguageClient-neovim', {
  \ 'branch': 'next',
  \ 'do': 'bash install.sh',
  \ }

by

Plugin 'autozimu/LanguageClient-neovim', {
  \ 'branch': 'next',
  \ 'do': './install.sh',
  \ }

I had to go into my minpac plugin directory for LanguageClient-neovim and manually run install.sh to get this working...

got the same error LanguageClient: Not executable! on ubuntu 18.04

the last part command from wpcarro fix it

chmod 755 ~/.vim/bundle/LanguageClient-neovim/bin/languageclient
Was this page helpful?
0 / 5 - 0 ratings

Related issues

norcalli picture norcalli  ยท  4Comments

gleachkr picture gleachkr  ยท  5Comments

languitar picture languitar  ยท  7Comments

kristijanhusak picture kristijanhusak  ยท  6Comments

mhuttner picture mhuttner  ยท  3Comments