kickstart.nvim icon indicating copy to clipboard operation
kickstart.nvim copied to clipboard

Errors when using on Red Hat Linux 7

Open coraxwolf opened this issue 10 months ago • 4 comments

I had forked this repo and it is working at home under ubuntu using WSL I tried to use the same repo at work on Red Hat Linux and I am getting errors on launch of nvim and every time I go into insert mode. I am using NVIM 0.11.0-dev-836+g64847fbdc I cloned this repo directly and get the exact same errors as I do with my personal fork error on start are: Failed to run config for gitsigns.nvim

...al/share/nvim/lazy/gitsigns.nvim/lua/gitsigns/config.lua:899: signs: expected function: 0x7ff585cc3100, got table (table: 0x7ff58644c6c8)

stacktrace:

  • vim/shared.lua:0 in validate
  • /gitsigns.nvim/lua/gitsigns/config.lua:899 in validate
  • /gitsigns.nvim/lua/gitsigns/config.lua:916 in validate_config
  • /gitsigns.nvim/lua/gitsigns/config.lua:962 in build
  • /gitsigns.nvim/lua/gitsigns.lua:205 in setup
  • init.lua:240

errors when I go into insert mode start out as: Error detected while processing InsertEnter Autocommands for "*": Error executing lua callback: ...l/share/nvim/lazy/cmp-nvim-lsp/lua/cmp_nvim_lsp/init.lua:98: loop or previous error loading module 'cmp' stack traceback: [C]: in function 'require' ...l/share/nvim/lazy/cmp-nvim-lsp/lua/cmp_nvim_lsp/init.lua:98: in function <...l/share/nvim/lazy/cmp-nvim-lsp/lua/cmp_nvim_lsp/init.lua:97>

and then I get a couple more full screens of similar errors after this.

coraxwolf avatar Apr 07 '25 20:04 coraxwolf

Did you clone the entire repo and not just copy in init.lua?

feoh avatar Apr 09 '25 15:04 feoh

I cloned the entire repo both times when I did it with just this repo (kicktarter) and when I cloned my own fork of the kickstarter repo.

coraxwolf avatar Apr 11 '25 00:04 coraxwolf

What happens when you type :Lazy update ?

I wish I had a system I could help you test this on.

Have you looked at the line of code it's citing in the error? What's it trying to do?

feoh avatar Apr 11 '25 01:04 feoh

I hadn't tried looking at what the code was trying to do. I believe I did try :Lazy Update and it completed without issues and the same for sync and install. I won't be back at work until Monday and I'll have to try it then.

coraxwolf avatar Apr 11 '25 02:04 coraxwolf