-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: E5108: Error executing lua [string ":lua"]:7: module 'avante_lib' not found #565
Comments
can you just try |
Removed the plug, ran
and ran |
The same error I am getting. |
It seems it works by manually add import path like this: -- .vimrc: Plug 'yetone/avante.nvim', { 'branch': 'main', 'do': 'make', 'on': 'AvanteAsk' }
-- ...
package.path = string.format("%s;%s/.vim/plugged/avante.nvim/lua/?.lua", package.path, os.getenv("HOME"))
package.path = string.format("%s;%s/.vim/plugged/avante.nvim/lua/?/init.lua", package.path, os.getenv("HOME"))
require('avante_lib').load()
-- ... Note that I am not a lua programmer so the snippet might be not clean enough. |
Ok, this is hacky, avante_lib should check VIMRUNTIME |
Describe the bug
Followed the installation instructions for vim-plug and made sure to go into
~/.local/share/nvim/plugged/avante.nvim
and runmake BUILD_FROM_SOURCE=true
, however, upon launching nvim I'm getting:To reproduce
No response
Expected behavior
No response
Environment
Repro
The text was updated successfully, but these errors were encountered: