kabouzeid / nvim-lspinstall

Provides the missing :LspInstall for nvim-lspconfig
MIT License
526 stars 67 forks source link

Error when installing go lsp #102

Open KyleJKC opened 3 years ago

KyleJKC commented 3 years ago

Hello, I just met a problem when I try to installing go language server

E5108: Error executing lua ...ack/packer/start/nvim-lspinstall/lua/lspinstall/util.lua:7: module 'lspconfig/configs' not found:
        no field package.preload['lspconfig/configs']
        no file './lspconfig/configs.lua'
        no file '/home/runner/work/neovim/neovim/.deps/usr/share/luajit-2.1.0-beta3/lspconfig/configs.lua'
        no file '/usr/local/share/lua/5.1/lspconfig/configs.lua'
        no file '/usr/local/share/lua/5.1/lspconfig/configs/init.lua'
        no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/lspconfig/configs.lua'
        no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/lspconfig/configs/init.lua'
        no file '/home/kyle/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/lspconfig/configs.lua'
        no file '/home/kyle/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/lspconfig/configs/init.lua'
        no file '/home/kyle/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/lspconfig/configs.lua'
        no file '/home/kyle/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/lspconfig/configs/init.lua'
        no file './lspconfig/configs.so'
        no file '/usr/local/lib/lua/5.1/lspconfig/configs.so'
        no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/lspconfig/configs.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
        no file '/home/kyle/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/lspconfig/configs.so'

I'm not sure if this is a bug or it's just something wrong with my configuration.

KyleJKC commented 3 years ago

In addition, I've already installed lspconfig, and there was no problem when I install c++ language server

kabouzeid commented 3 years ago

Have you updated neovim and lspconfig? Does the problem still persist?