Environment:
- Neovim: 0.12.x
- OS: Linux Mint 22.2
- Plugin manager: lazy.nvim
Steps:
- Install copilot-agent.nvim via lazy.nvim
- Run :CopilotAgentInstall
- Start Neovim
- Plugin fails to load due to missing copilot_agent.render module
Expected:
Plugin loads successfully with render module available
Actual:
Module 'copilot_agent.render' is missing, causing startup failure
Here are the error logs when trying to load the plugin:
Error: lazy.nvim failed to source copilot-agent.nvim plugin
Vim error (E5113):
Lua chunk error in copilot-agent.nvim:
module 'copilot_agent.render' not found:
no field package.preload['copilot_agent.render']
cache_loader: module not found
cache_loader_lib: module not found
Lua module search path failed:
no file './copilot_agent/render.lua'
no file '/usr/share/lua/5.1/copilot_agent/render.lua'
no file '/usr/share/lua/5.1/copilot_agent/render/init.lua'
no file './copilot_agent/render.so'
no file '/usr/lib/lua/5.1/copilot_agent.so'
no file 'loadall.so'
stack traceback:
require(copilot_agent.render)
copilot_agent/init.lua:33
plugin/copilot_agent.lua:11
vim/_core/editor:355
---
Lazy.nvim config error:
Failed to run `config` for copilot-agent.nvim
Error in user config:
loop or previous error loading module 'copilot_agent'
at plugin/copilot-agent.lua:5``
Environment:
Steps:
Expected:
Plugin loads successfully with render module available
Actual:
Module 'copilot_agent.render' is missing, causing startup failure
Here are the error logs when trying to load the plugin: