nvim-lua / kickstart.nvim

A launch point for your personal nvim configuration
MIT License
19.53k stars 23.18k forks source link

E5108: Error executing lua ....local/share/nvim/lazy/mini.nvim/lua/mini/statusline.lua:658: attempt to call field 'is_enabled' (a nil value) #1085

Closed llkkdb closed 2 months ago

llkkdb commented 2 months ago

Describe the bug

Hi, I followed the WSL installation to install neovim and kickstart.nvim. Below is the error I have experienced. image

To Reproduce

wsl --install wsl sudo add-apt-repository ppa:neovim-ppa/unstable -y sudo apt update sudo apt install make gcc ripgrep unzip git xclip neovim git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim nvim

Desktop

Neovim Version

NVIM v0.10.0-dev Build type: RelWithDebInfo LuaJIT 2.1.0-beta3

P1llus commented 2 months ago

I am getting this as well, reproduced with the same issue (also on WSL with the same nvim version). I worked past it for now by disabling statusline in init.lua.

echasnovski commented 2 months ago

It is most certainly due to using development version of Neovim 0.10. Updating to released 0.10 (or relatively late development build) will fix this.

Jynxzzz commented 2 months ago

I am getting this as well, reproduced with the same issue (also on WSL with the same nvim version). I worked past it for now by disabling statusline in init.lua.

comment out lines that contains stautsline in init.lua file just work fine.

echasnovski commented 2 months ago

comment out lines that contains stautsline in init.lua file just work fine.

Not using the code that produced issue will, of course, work. Same as not using severely outdated Neovim development version, which is arguably the better solution.

Jynxzzz commented 2 months ago

comment out lines that contains stautsline in init.lua file just work fine.

Not using the code that produced issue will, of course, work. Same as not using severely outdated Neovim development version, which is arguably the better solution.

Thx a lot. I followed your suggestion and worked out. It's a better suggestion, all the plugins working now. i just downloaded newer NEOVIM to fix it. 0.11

feoh commented 2 months ago

Is this still an issue? I can't repro on released 0.10 or 0.11

echasnovski commented 2 months ago

This is only an issue if using 0.10 development version not sufficiently late in its development cycle. This should not happen on released 0.10 and later.

feoh commented 2 months ago

Thank you. That's well outside our margin of support. Closing.