Skip to content

Error when starting Neovim. Suggestions and add-ons do not work. #669

@Re3w

Description

@Re3w

Make sure you have done the following

  • I have updated to the latest version of blink.cmp
  • I have read the README

Bug Description

After running neovim (I use lazyvim), I get an error in python, javascript, etc files.

Startup error Python file

Error executing luv callback:
..._nvim.a7hRJJG/usr/share/nvim/runtime/lua/vim/_system.lua:244: EACCES: permission denied                                                                                   
stack traceback:                                                                                                                                                             
        [C]: in function 'error'                                                                                                                                             
        ..._nvim.a7hRJJG/usr/share/nvim/runtime/lua/vim/_system.lua:244: in function 'spawn'                                                                                 
        ..._nvim.a7hRJJG/usr/share/nvim/runtime/lua/vim/_system.lua:335: in function 'system'                                                                                
        ...are/nvim/lazy/blink.cmp/lua/blink/cmp/fuzzy/download.lua:129: in function <...are/nvim/lazy/blink.cmp/lua/blink/cmp/fuzzy/download.lua:116>                       
        [C]: in function 'wait'                                                                                                                                              
        ..._nvim.a7hRJJG/usr/share/nvim/runtime/lua/vim/_system.lua:98: in function 'wait'                                                                                   
        ...hRJJG/usr/share/nvim/runtime/lua/vim/provider/python.lua:29: in function 'import_module'                                                                          
        ...hRJJG/usr/share/nvim/runtime/lua/vim/provider/python.lua:47: in function 'check_for_module'                                                                       
        ...hRJJG/usr/share/nvim/runtime/lua/vim/provider/python.lua:89: in function <...hRJJG/usr/share/nvim/runtime/lua/vim/provider/python.lua:80>                         
        [C]: in function 'nvim_cmd'                                                                                                                                          
        .../.mount_nvim.a7hRJJG/usr/share/nvim/runtime/filetype.lua:36: in function <.../.mount_nvim.a7hRJJG/usr/share/nvim/runtime/filetype.lua:35>                         
        [C]: in function 'nvim_buf_call'                                                                                                                                     
        .../.mount_nvim.a7hRJJG/usr/share/nvim/runtime/filetype.lua:35: in function <.../.mount_nvim.a7hRJJG/usr/share/nvim/runtime/filetype.lua:10>

Startup error JS file

Error executing luv callback:
..._nvim.aEf33eE/usr/share/nvim/runtime/lua/vim/_system.lua:244: EACCES: permission denied                                                                                   
stack traceback:                                                                                                                                                             
        [C]: in function 'error'                                                                                                                                             
        ..._nvim.aEf33eE/usr/share/nvim/runtime/lua/vim/_system.lua:244: in function 'spawn'                                                                                 
        ..._nvim.aEf33eE/usr/share/nvim/runtime/lua/vim/_system.lua:335: in function 'system'                                                                                
        ...are/nvim/lazy/blink.cmp/lua/blink/cmp/fuzzy/download.lua:129: in function <...are/nvim/lazy/blink.cmp/lua/blink/cmp/fuzzy/download.lua:116>

checkhealth

     blink.cmp: require("blink.cmp.health").check()                                                                                                                        
                                                                                                                                                                           
     blink.cmp healthcheck
     - ERROR curl is not installed
     - OK git is installed
     - OK Your system is supported by pre-built binaries (x86_64-unknown-linux-gnu)
     - ERROR Failed to run healthcheck for "blink.cmp" plugin. Exception:
       ...local/share/nvim/lazy/blink.cmp/lua/blink/cmp/health.lua:28: bad argument #2 to 'fs_stat' (function or callable table expected, got number)

After skipping it, the suggestions do not work. Default blink configuration from lazyvim

Relevant configuration

No response

neovim version

NVIM v0.10.2 Build type: Release LuaJIT 2.1.1713484068 Run "nvim -V1 -v" for more info

blink.cmp version: branch, tag, or commit

branch main
tag v0.7.6
commit ae5a4ce

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions