Skip to content

error in wsl ubuntu 24.04 #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hyaray opened this issue Feb 27, 2025 · 0 comments
Open

error in wsl ubuntu 24.04 #113

hyaray opened this issue Feb 27, 2025 · 0 comments

Comments

@hyaray
Copy link

hyaray commented Feb 27, 2025

wsl ubuntu24.04,
installed neovim 0.9.5,
do git clone https://github.com/LazyVim/starter ~/.config/nvim && rm -rf ~/.config/nvim/.git
runnvim show error. Am I forgot to do something?? puzzled...

Error detected while processing /home/wsl/.config/nvim/init.lua:
E5113: Error while calling lua chunk: /home/wsl/.config/nvim/lua/config/lazy.lua:17: module 'lazy' not found:
        no field package.preload['lazy']
        no file './lazy.lua'
        no file '/usr/share/luajit-2.1/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 '/usr/share/lua/5.1/lazy.lua'
        no file '/usr/share/lua/5.1/lazy/init.lua'
        no file './lazy.so'
        no file '/usr/local/lib/lua/5.1/lazy.so'
        no file '/usr/lib/x86_64-linux-gnu/lua/5.1/lazy.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
        [C]: in function 'require'
        /home/wsl/.config/nvim/lua/config/lazy.lua:17: in main chunk
        [C]: in function 'require'
        /home/wsl/.config/nvim/init.lua:2: in main chunk
Press ENTER or type command to continue

wsl@xxx:~/.config/nvim$ tree
├── LICENSE
├── README.md
├── init.lua
├── lua
│ ├── config
│ │ ├── autocmds.lua
│ │ ├── keymaps.lua
│ │ ├── lazy.lua
│ │ └── options.lua
│ └── plugins
│ └── example.lua
└── stylua.toml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant