abzcoding / lvim

🧑‍🚀 Bloated LunarVim 🚀
MIT License
471 stars 65 forks source link

Noice throws an exception on MacOS #103

Closed soerenmartius closed 1 year ago

soerenmartius commented 1 year ago

Noice.nvim throws an issue on startup. Seems like a dependency is missing or broken? I am on macOS Ventura.

Screenshot 2022-12-06 at 14 47 21
luxus commented 1 year ago

did you changed anything? you could try changing this line to your username https://github.com/abzcoding/lvim/blob/6dac199a6a2de487eed1f408f1c156ef271e934f/config.lua#L84 this will load the https://github.com/abzcoding/lvim/blob/main/lua/user/custom_user.lua i would recommend leave the config.lua and use the custom_user.lua, i even created my own custom_luxus.lua to have abz's upstream in custom_user.lua

soerenmartius commented 1 year ago

did you changed anything? you could try changing this line to your username

https://github.com/abzcoding/lvim/blob/6dac199a6a2de487eed1f408f1c156ef271e934f/config.lua#L84

this will load the https://github.com/abzcoding/lvim/blob/main/lua/user/custom_user.lua i would recommend leave the config.lua and use the custom_user.lua, i even created my own custom_luxus.lua to have abz's upstream in custom_user.lua

Thanks for your reply :) effectively I changed the line to conditionally evaluate against my username. Other than that, I only added some minor changes to the custom config.

i even created my own custom_luxus.lua to have abz's upstream in custom_user.lua

that makes a lot of sense! thank you

luxus commented 1 year ago

are you on the master branch of lunarvim? they switched from rolling to master for the newest version, do you have tried to update the nightly?

abzcoding commented 1 year ago

the dependency is clearly defined here: https://github.com/abzcoding/lvim/blob/6dac199a6a2de487eed1f408f1c156ef271e934f/lua/user/plugins.lua#L639-L647

  1. make sure you are on the master branch of lunarvim git -C ~/.local/share/lunarvim/lvim branch --show-current
  2. clear your cache :LuaCacheClear
  3. remove ~/.config/lvim/plugin folder for good measure
  4. run :PackerSync to make sure everything is installed
  5. close and reopen and run a final :PackerCompile
Uzaaft commented 1 year ago

Also, make sure that you have Neovim >= 0.8.0. Nightly is highly recommended by folke.

soerenmartius commented 1 year ago

So I finally found some time to look into this. I reinstalled neovim from scratch NVIM v0.9.0-dev-738427d49-dirty, reinstalled Lunarvim and this repository - unfortunately the issue remains.

Uzaaft commented 1 year ago

@soerenmartius Did you try and remove the whole packer cache? For me, the path is: ~/.local/share/lunarvim/site/pack/packer

soerenmartius commented 1 year ago

@soerenmartius Did you try and remove the whole packer cache? For me, the path is: ~/.local/share/lunarvim/site/pack/packer

Yip I've tried that also without success :(

Uzaaft commented 1 year ago

Weird. I got the same OS as you. Perhaps it would be easier to try and debug this over discord one day?

abzcoding commented 1 year ago

Closing due to inactivity. Feel free to reopen it