copilot.vim icon indicating copy to clipboard operation
copilot.vim copied to clipboard

neovim install gives trace back

Open tanabarr opened this issue 4 months ago • 2 comments

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.

tanabarr avatar Sep 02 '25 21:09 tanabarr