LunarVim / Neovim-from-scratch

📚 A Neovim config designed from scratch to be understandable
https://www.chrisatmachine.com/
GNU General Public License v3.0
5.4k stars 1.17k forks source link

[NeoVim]: Cant install plugins #138

Open nrupatunga opened 2 years ago

nrupatunga commented 2 years ago

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

gnmearacaun commented 2 years ago

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

nrupatunga commented 2 years ago

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

gnmearacaun commented 2 years ago

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

brianrobt commented 2 years ago

@nrupatunga which version of Neovim are you using?

nrupatunga commented 2 years ago

@mrbrianrt I use neovim version 0.6.0

gnmearacaun commented 2 years ago

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

nrupatunga commented 2 years ago

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

gnmearacaun commented 2 years ago

@nrupatunga sure