Neovim-from-scratch icon indicating copy to clipboard operation
Neovim-from-scratch copied to clipboard

[NeoVim]: Cant install plugins

Open nrupatunga opened this issue 3 years ago • 8 comments

I'm on Ubuntu 16

I get the following errors when I open neovim for the first time Screenshot from 2022-05-05 11-04-46

Any idea how to resolve this issue

nrupatunga avatar May 05 '22 05:05 nrupatunga

have you tried deleting packer_compiled.lua in the plugin/ directory? If that doesn't work you could try moving ~/.local/share/nvim to nvim-old and that may be recreated from scratch when you reopen nvim

gnmearacaun avatar May 05 '22 16:05 gnmearacaun

This set of messages is shown even when the plugins are successfully installed in the directory .local/share/nvim/site/pack/packer/start

nrupatunga avatar May 06 '22 06:05 nrupatunga

And you deleted ~/.config/lvim/plugin/packer_compiled.lua right?

gnmearacaun avatar May 06 '22 14:05 gnmearacaun

@nrupatunga which version of Neovim are you using?

brianrobt avatar May 11 '22 14:05 brianrobt

@mrbrianrt I use neovim version 0.6.0

nrupatunga avatar May 11 '22 15:05 nrupatunga

We have found that the latest release will clear up some errors. To upgrade to latest release: Assuming you cloned and built neovim from source with the necessary build prerequisites cd into the folder where you cloned neovim. These are the commands you want to run:

git pull
make distclean && make CMAKE_BUILD_TYPE=Release
sudo make install
nvim -v

You should see you are on v0.8.0. in addition, to fix some recent errors, manually apply fixes contained in #144 and #145 . In addition you might need to comment out some lines in /user/lsp/settings/jsonls.lua depending if you get any errors

gnmearacaun avatar May 11 '22 16:05 gnmearacaun

@gnmearacaun thank you for your inputs, let me try the same

nrupatunga avatar May 12 '22 06:05 nrupatunga

@nrupatunga sure

gnmearacaun avatar May 12 '22 07:05 gnmearacaun