NvChad / starter

Starter config for NvChad
The Unlicense
111 stars 391 forks source link

Windows install hickup #27

Open elE0710 opened 3 months ago

elE0710 commented 3 months ago

Hi,

For one of my windows machines the installation worked flawless, for this one i am facing issues though: E5113: Error while calling lua chunk: C:\Users\Name\AppData\Local\nvim\init.lua:17: module 'lazy' not found: no field package.preload['lazy'] no file '.\lazy.lua' no file 'C:\Program Files\Neovim\bin\lua\lazy.lua' no file 'C:\Program Files\Neovim\bin\lua\lazy\init.lua' no file '.\lazy.dll' no file 'C:\Program Files\Neovim\bin\lazy.dll' no file 'C:\Program Files\Neovim\bin\loadall.dll' stack traceback: [C]: in function 'require' Prerequisites are installed

siduck commented 3 months ago

no idea. i hope it has latest git version

avtotrainer commented 3 months ago

I had a similar problem where all the requirements were met.

In lua/plugins/init.lua I started disabling plugins one by one. After editing the file for the first time, the problem was solved.

I re-enabled the disabled plugin and the error did not occur again.

After that, I made sure to add one comment at a time to the lua/plugins/init.lua file and save it. The problem was solved in this case as well.

I couldn’t determine the reason, but I found a way to solve the problem

My build case https://github.com/AlariCode/nvchad-config

siduck commented 3 months ago

thats so weird, windows gets us all the weird issues :sob:

avtotrainer commented 3 months ago

I have manjaro-i3 here is the error i get

Error executing vim.schedule lua callback: cannot open ~/.local/share/nvim/nvchad/base46/nvdash: No such file or directory stack traceback: [C]: in function 'dofile' ~/.local/share/nvim/lazy/ui/lua/nvchad/nvdash/init.lua:5: in main chunk [C]: in function 'require' /.local/share/nvim/lazy/ui/lua/nvchad/init.lua:36: in function </.local/share/nvim/lazy/ui/lua/nvchad/init.lua:28>

siduck commented 3 months ago

cant reproduce this @avtotrainer can you show a screen recording of clean install ?

niceEli commented 1 month ago

on my install on windows i dont have any issues