github / github/copilot.vim

neovim install gives trace back

Open
#169 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
11.7k
Forks
810
PR merge metrics
No merged PRs in 30d

Description

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 86_RunDeferred[6]..5[1]..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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.