nvimdev/dope

E5113: Error while calling lua chunk: vim/loader.lua:0: attempt to call upvalue '' (a nil value)

Closed this issue · 10 comments

Hello,

First thank you for the concise structure for nvim configs.
Second, I need your help with this error I got after installing nvim from source on Ubuntu and cloning your dope in the ~/.config/nvim and running it with ./bin/dope

Error detected while processing /home/user/.config/nvim/init.lua: E5113: Error while calling lua chunk: vim/loader.lua:0: attempt to call upvalue '' (a nil value) local/share/nvim/lazy/lazy.nvim/lua/lazy/init.lua:

Thank you,
Ovi

emm what about just open nvim and did you use any config before with lazy

emm what about just open nvim

Thanks for answering!
That is what I get when trying to open nvim ^^^
I didn't use any config with lazy before and even deleted ~/.local/share/nvim/lazy when I saw these issues...
Of course upon re-opening nvim lazy got automatically cloned back in the share folder.

yup it has bootstrap if lazy don't find it will auto download. and what's your neovim version and check there has cache file in neovim cache dir ~/.cache/nvim.

seems like before your config create some cache . rm -rf ~/.cache/nvim and retry it again.

rm -rf ~/.cache/nvim
delete it

and when starting neovim I still get:

Error detected while processing /home/user/.config/nvim/init.lua: E5113: Error while calling lua chunk: vim/loader.lua:0: attempt to call upvalue '' (a nil value) local/share/nvim/lazy/lazy.nvim/lua/lazy/init.lua:

Should I try re-installing nvim with bob ?

and cleanup your env remove .local/share/nvim and cache/nvim

Now neovim opened without an error, but when trying to open a file it shows:

You are trying to call the setup function of indent-blankline v
ersion 2, but you have version 3 installed

check indent-blankline you install version 3 but config it use version2 ? idk. i don't use that plugin.