Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

neovim install gives trace back

未關閉
#169 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
lua, neovim
領域
tooling

研究方向

從 copilot.vim README 中的安裝說明以及 lua/_copilot.lua:31 處的 traceback 項目開始。檢查該項目如何載入 Neovim 的 LSP 模組,並將其與回報的執行階段路徑進行比較,包括 vim/_editor.lua 和 vim/shared.lua。完成的標準是,依照文件進行安裝時不再產生缺少 vim.deprecated.health 的錯誤。

由索引模型根據 Issue 內容生成。

描述

I just recently updated neovim and the get this following when using these instructions https://github.com/github/copilot.vim?tab=readme-ov-file

any help appreciated

Error detected while processing function <SNR>86_RunDeferred[6]..<lambda>5[1]..<SNR>84_Start[4]..copilot#client#New:
line   59:
E5108: Error executing lua vim/_editor.lua:0: module 'vim.deprecated.health' not found:
        no field package.preload['vim.deprecated.health']
        no file './vim/deprecated/health.lua'
        no file '/home/runner/work/neovim/neovim/.deps/usr/share/luajit-2.1/vim/deprecated/health.lua'
        no file '/usr/local/share/lua/5.1/vim/deprecated/health.lua'
        no file '/usr/local/share/lua/5.1/vim/deprecated/health/init.lua'
        no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/vim/deprecated/health.lua'
        no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/vim/deprecated/health/init.lua'
        no file './vim/deprecated/health.so'
        no file '/usr/local/lib/lua/5.1/vim/deprecated/health.so'
        no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/vim/deprecated/health.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
        no file './vim.so'
        no file '/usr/local/lib/lua/5.1/vim.so'
        no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/vim.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
        [C]: in function 'require'
        vim/_editor.lua: in function 'deprecate'
        vim/shared.lua: in function 'tbl_flatten'
        /usr/share/nvim/runtime/lua/vim/lsp/log.lua:26: in function 'path_join'
        /usr/share/nvim/runtime/lua/vim/lsp/log.lua:28: in main chunk
        [C]: in function 'require'
        /usr/share/nvim/runtime/lua/vim/lsp/handlers.lua:1: in main chunk
        [C]: in function 'require'
        /usr/share/nvim/runtime/lua/vim/lsp.lua:1: in main chunk
        [C]: in function 'require'
        vim/_init_packages.lua: in function '__index'
        ...nfig/nvim/pack/github/start/copilot.vim/lua/_copilot.lua:31: in function <...nfig/nvim/pack/github/start/copilot.vim/lua/_copilot.lua:12>
Press ENTER or type command to continue

I have a business license but I've not been asked for its details yet.

主要語言
Vim Script
星號
11.7k
分支
812
PR 合併指標
30 天內沒有已合併 PR

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/copilot.vim 的其他 Issue

查看 github/copilot.vim 的全部 Issue

相似的 Issue

更多 DevTools Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。