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.94k stars 2.13k forks source link

Unable to update nvchad #2293

Closed ckt114 closed 1 year ago

ckt114 commented 1 year ago

Describe the bug Updating nvchad throwing error below.

fatal: could not read Username for 'https://github.com': terminal prompts diabled

After that restarting nvim the following error is thrown.

^I...cal/share/nvim/lazy/ui/lua/nvchad/statusline/default.lua:202: in function <...cal/share/nvim/lazy/ui/lua/nvchad/statusline/default.lua:185>
E15: Invalid expression: v:lua.require('nvchad.statusline.default').run()

To Reproduce Steps to reproduce the behavior:

  1. Run nvim
  2. Open Lazy
  3. Press U
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

siduck commented 1 year ago

@ckt114 clean install nvchad

siduck commented 1 year ago
rm -rf ~/.config/nvim
rm -rf ~/.local/share/nvim
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1 && nvim
ckt114 commented 1 year ago

That works. Very odd but thanks.

siduck commented 1 year ago

@ckt114 extensions repo had UI related modules mostly so i migrated its stuff to our UI repo and hence deleted that extensions too!

ckt114 commented 1 year ago

Got it. Thanks.