NvChad / NvChad

Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
https://nvchad.com/
GNU General Public License v3.0
24.44k stars 2.11k forks source link

Error with requiring base46 on a fresh install #2002

Closed deeedob closed 1 year ago

deeedob commented 1 year ago

Hey, I'm encountering problems on a fresh arch + KDE system when installing NvChad fresh. It can't find base46 in: lua/core/bootstrap.lua on a new setup at:

l18: require("base46").compile()

Log:

  Compiling base46 theme to bytecode ...
Error detected while processing /usr/share/nvim/runtime/plugin/nvchad.vim:
E5113: Error while calling lua chunk: /home/all0xc/.config/nvim/lua/core/bootstrap.lu
a:18: module 'base46' not found:          
        no field package.preload['base46']
        no file './base46.lua'                            
        no file '/usr/share/luajit-2.1.0-beta3/base46.lua'
        no file '/usr/local/share/lua/5.1/base46.lua'     
        no file '/usr/local/share/lua/5.1/base46/init.lua'
        no file '/usr/share/lua/5.1/base46.lua'     
        no file '/usr/share/lua/5.1/base46/init.lua'
        no file './base46.so'                     
        no file '/usr/local/lib/lua/5.1/base46.so'
        no file '/usr/lib/lua/5.1/base46.so'       
        no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:                  
        [C]: in function 'require'                                             
        /home/all0xc/.config/nvim/lua/core/bootstrap.lua:18: in function 'lazy'
        /usr/share/nvchad/init.lua:16: in main chunk

The last time I've set up NvChad, probably like 2 month ago, everything worked :)

siduck commented 1 year ago

rm -rf .local/share/nvim

and then reinstall nvchad

deeedob commented 1 year ago

Ok, the error was at my end. I had this enabled in my .gitconfig:

Enforce SSH

[url "ssh://git@github.com/"]

Good to know that this doesn't work

siduck commented 1 year ago

Ok, the error was at my end. I had this enabled in my .gitconfig:

Enforce SSH

[url "ssh://git@github.com/"]

Good to know that this doesn't work

:fearful: