LunarVim / Neovim-from-scratch

📚 A Neovim config designed from scratch to be understandable

Home Page:https://www.chrisatmachine.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rror while calling lua chunk: .config/nvim/lua/user/lsp/mason.lua:25: module 'mason' not found:

kerrg opened this issue · comments

Thanks in advance for any help, I've done my due diligence on checking my install and reading the mason docs. I made sure to build neovim from source as prescribed:
`$ git checkout release-0.9
$ make distclean && make CMAKE_BUILD_TYPE=Release && sudo make install
nvim -v
NVIM v0.9.6-dev-18+g0ef27180e
Build type: Release
LuaJIT 2.1.1692716794

system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/share/nvim"

Run :checkhealth for more info`

When I launch nvim I get this error:
`:113: Error while calling lua chunk: /home/kerrnel/.config/nvim/lua/user/lsp/mason.lua:25: module 'mason' not found:
no field package.preload['mason']
no file './mason.lua'
no file '/home/kerrnel/Development/neovim/.deps/usr/share/luajit-2.1/mason.lua'
no file '/usr/local/share/lua/5.1/mason.lua'
no file '/usr/local/share/lua/5.1/mason/init.lua'
no file '/home/kerrnel/Development/neovim/.deps/usr/share/lua/5.1/mason.lua'
no file '/home/kerrnel/Development/neovim/.deps/usr/share/lua/5.1/mason/init.lua'
no file './mason.so'
no file '/usr/local/lib/lua/5.1/mason.so'
no file '/home/kerrnel/Development/neovim/.deps/usr/lib/lua/5.1/mason.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
/home/kerrnel/.config/nvim/lua/user/lsp/mason.lua:25: in main chunk
[C]: in function 'require'
/home/kerrnel/.config/nvim/lua/user/lsp/init.lua:6: in main chunk
[C]: in function 'require'
/home/kerrnel/.config/nvim/init.lua:6: in main chunk
Error detected while processing /home/kerrnel/.local/share/nvim/site/pack/packer/start/cmp-buffer/after/plugin/cmp_buffer.lua:
E5113: Error while calling lua chunk: ...pack/packer/start/cmp-buffer/after/plugin/cmp_buffer.lua:1: module 'cmp' not found:
no field package.preload['cmp']
no file './cmp.lua'
no file '/home/kerrnel/Development/neovim/.deps/usr/share/luajit-2.1/cmp.lua'
no file '/usr/local/share/lua/5.1/cmp.lua'
no file '/usr/local/share/lua/5.1/cmp/init.lua'
no file '/home/kerrnel/Development/neovim/.deps/usr/share/lua/5.1/cmp.lua'
no file '/home/kerrnel/Development/neovim/.deps/usr/share/lua/5.1/cmp/init.lua'
no file './cmp.so'
no file '/usr/local/lib/lua/5.1/cmp.so'
no file '/home/kerrnel/Development/neovim/.deps/usr/lib/lua/5.1/cmp.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
...pack/packer/start/cmp-buffer/after/plugin/cmp_buffer.lua:1: in main chunk
Error detected while processing /home/kerrnel/.local/share/nvim/site/pack/packer/start/cmp-cmdline/after/plugin/cmp_cmdline.lua:
E5113: Error while calling lua chunk: ...ck/packer/start/cmp-cmdline/after/plugin/cmp_cmdline.lua:1: module 'cmp' not found:
no field package.preload['cmp']
no file './cmp.lua'
no file '/home/kerrnel/Development/neovim/.deps/usr/share/luajit-2.1/cmp.lua'
no file '/usr/local/share/lua/5.1/cmp.lua'
no file '/usr/local/share/lua/5.1/cmp/init.lua'
no file '/home/kerrnel/Development/neovim/.deps/usr/share/lua/5.1/cmp.lua'

`