First use of lazy vim cannot init
tbago opened this issue · comments
I follow the guideline : https://www.lazyvim.org/installation
when I start nvim , I got the following error:
Error detected while processing /Users/tbago/.config/nvim/init.lua:
E5113: Error while calling lua chunk: /Users/tbago/.config/nvim/lua/config/lazy.lua:9: module 'lazy' not found:
no field package.preload['lazy']
no file './lazy.lua'
no file '/Users/runner/work/neovim/neovim/.deps/usr/share/luajit-2.1.0-beta3/lazy.lua'
no file '/usr/local/share/lua/5.1/lazy.lua'
no file '/usr/local/share/lua/5.1/lazy/init.lua'
no file '/Users/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/lazy.lua'
no file '/Users/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/lazy/init.lua'
no file './lazy.so'
no file '/usr/local/lib/lua/5.1/lazy.so'
no file '/Users/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/lazy.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
/Users/tbago/.config/nvim/lua/config/lazy.lua:9: in main chunk
[C]: in function 'require'
/Users/tbago/.config/nvim/init.lua:2: in main chunk
~/.local/share/nvim/lazy/lazy.nvim
not exist or empty.
Check your network, git clone maybe failed.
git clone --filter=blob:none https://github.com/folke/lazy.nvim.git --branch=stable ~/.local/share/nvim/lazy/lazy.nvim
All right. I can use lazy vim for now. Thanks.