Skip to content

[BUG] Avante plugin: module 'img-clip' not found #3047

Open
@BhasherBEL

Description

@BhasherBEL
Field Description
Plugin Avante
Nixpkgs unstable
Home Manager upstable
  • I have read the FAQ and my bug is not listed there.

Description

When I open any file with neovim, I got the following error, with the module img-clip not found.

Error detected while processing /home/bhasher/.config/nvim/init.lua:                                                                                                                         
E5113: Error while calling lua chunk: ...eovimPackages/start/avante.nvim/lua/avante/clipboard.lua:33: module 'img-clip' not found:                                                           
        no field package.preload['img-clip']                                                                                                                                                 
        no file '/nix/store/38brn4hqwnf50i56gcjplg5dibrdkh6d-luajit2.1-jsregexp-0.0.7-1/share/lua/5.1/img-clip.lua'                                                                          
        no file '/nix/store/8g7sn7zrfl9hwmjhv9gi6wl4ka2011m8-luajit-2.1.1713773202/share/lua/5.1/img-clip.lua'                                                                               
        no file '/nix/store/1gdrbbskvgidffsaar7wb2c2dcm1md73-luajit2.1-plenary.nvim-scm-1/share/lua/5.1/img-clip.lua'                                                                        
        no file '/nix/store/1gdrbbskvgidffsaar7wb2c2dcm1md73-luajit2.1-plenary.nvim-scm-1/share/lua/5.1/img-clip/init.lua'                                                                   
        no file '/nix/store/gzals07h1lram4pvqkgbgd5jg7cbh5wl-luajit2.1-luassert-1.9.0-1/share/lua/5.1/img-clip.lua'                                                                          
        no file '/nix/store/gzals07h1lram4pvqkgbgd5jg7cbh5wl-luajit2.1-luassert-1.9.0-1/share/lua/5.1/img-clip/init.lua'                                                                     
        no file '/nix/store/m61vx8ghz58przpadjv1w4w7y3sp78dv-luajit2.1-say-1.4.1-3/share/lua/5.1/img-clip.lua'                                                                               
        no file '/nix/store/m61vx8ghz58przpadjv1w4w7y3sp78dv-luajit2.1-say-1.4.1-3/share/lua/5.1/img-clip/init.lua'                                                                          
        no file '/nix/store/966v9pi2p92gkyhhxav7nxfgv727blqs-luajit-2.1.1713773202-env/share/lua/5.1/img-clip.lua'                                                                           
        no file '/nix/store/966v9pi2p92gkyhhxav7nxfgv727blqs-luajit-2.1.1713773202-env/share/lua/5.1/img-clip/init.lua'                                                                      
        no file '/nix/store/38brn4hqwnf50i56gcjplg5dibrdkh6d-luajit2.1-jsregexp-0.0.7-1/lib/lua/5.1/img-clip.so'                                                                             
        no file '/nix/store/966v9pi2p92gkyhhxav7nxfgv727blqs-luajit-2.1.1713773202-env/lib/lua/5.1/img-clip.so'                                                                              
        no file '/nix/store/4a14n504h7vjv44kxnajh3lvjp2sf13v-vim-pack-dir/pack/myNeovimPackages/start/avante.nvim/lua/../build/img-clip.so'                                                  
stack traceback:                                                                                                                                                                             
        [C]: in function 'require'                                                                                                                                                           
        ...eovimPackages/start/avante.nvim/lua/avante/clipboard.lua:33: in function 'setup'                                                                                                  
        ...k/myNeovimPackages/start/avante.nvim/lua/avante/init.lua:382: in function 'setup'                                                                                                 
        /home/bhasher/.config/nvim/init.lua:301: in main chunk   

Minimal, Reproducible Example (MRE)

programs.nixvim = {
  enable = true;
  plugins = {
    avante = {
      enable = true;
    }  
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions