ayamir / nvimdots

A well configured and structured Neovim.
BSD 3-Clause "New" or "Revised" License
2.91k stars 459 forks source link

checkhealth faild for nvim-lsp-installer #164

Closed FrankJian closed 2 years ago

FrankJian commented 2 years ago

Describe the bug I try use the nvimdots for nvim configuration , follow the guide to clone the configuration and then install the necessary tools/configuration when i try to run :checkhealth, below issue happened.

nvim-lsp-installer: require("nvim-lsp-installer.health").check()
========================================================================
  - ERROR: Failed to run healthcheck for "nvim-lsp-installer" plugin. Exception:
    function health#check, line 20
    Vim(eval):E5108: Error executing lua ...nvim-lsp-installer/lua/nvim-lsp-installer/middleware.lua:1: module 'lspconfig.util' not found:
    no field package.preload['lspconfig.util']
    no file './lspconfig/util.lua'
    no file '/usr/share/luajit-2.1.0-beta3/lspconfig/util.lua'
    no file '/usr/local/share/lua/5.1/lspconfig/util.lua'
    no file '/usr/local/share/lua/5.1/lspconfig/util/init.lua'
    no file '/usr/share/lua/5.1/lspconfig/util.lua'
    no file '/usr/share/lua/5.1/lspconfig/util/init.lua'
    no file '/home/j3xie/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/lspconfig/util.lua'
    no file '/home/j3xie/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/lspconfig/util/init.lua'
    no file '/home/j3xie/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/lspconfig/util.lua'
    no file '/home/j3xie/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/lspconfig/util/init.lua'
    no file './lspconfig/util.so'
    no file '/usr/local/lib/lua/5.1/lspconfig/util.so'
    no file '/usr/lib/lua/5.1/lspconfig/util.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'
    no file '/home/j3xie/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/lspconfig/util.so'
    no file './lspconfig.so'
    no file '/usr/local/lib/lua/5.1/lspconfig.so'
    no file '/usr/lib/lua/5.1/lspconfig.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'
    no file '/home/j3xie/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/lspconfig.so'
    stack traceback:
    [C]: in function 'require'
    ...nvim-lsp-installer/lua/nvim-lsp-installer/middleware.lua:1: in main chunk
    [C]: in function 'require'
    ...vim-lsp-installer/lua/nvim-lsp-installer/health/init.lua:8: in main chunk
    [C]: in function 'require'
    [string "luaeval()"]:1: in main chunk

nvim-treesitter: require("nvim-treesitter.health").check()

To Reproduce Steps to reproduce the behavior:

  1. clone the fresh nvimdots
  2. open the nvim and execute the PackerSync, after all finished
  3. execute the "checkhealth"

Expected behavior should be "OK"

Screenshots error message in the description

Environment (please complete the following information):

Additional context Add any other context about the problem here.

Note: Any issue without any information will be closed directly, Please value our time.

描述Bug

尽可能清晰简单地描述出Bug

如何复现

  1. 以何种方式打开文件(Telescope或直接打开)
  2. 执行什么命令?
  3. 点击什么?
  4. 使用什么快捷键?
  5. ...

期待的表现

尽可能清晰简单地描述你想要的效果

截图

如果有截图的话,尽量给出截图

运行环境

额外信息

如果有额外信息,请在这里添加

注意:没有任何信息的issue将会被直接关闭,请不要浪费双方的时间。

ayamir commented 2 years ago

I'm currently working on migrating nvim-lsp-installer to mason.nvim, you can ignore this exception temporarily.

ayamir commented 2 years ago

e5117aca10876988ec12cd6526cb49c7d09660dd