lewis6991 / pckr.nvim

Spiritual successor of https://github.com/wbthomason/packer.nvim
MIT License
243 stars 13 forks source link

Don't works: "Error executing luv callback" #2

Closed safocl closed 1 year ago

safocl commented 1 year ago

Steps to reproduce

copy the lines of the configure in the nvim init.lua

Actual behaviour

Error executing luv callback:                                                                                                                                              
...afocl/.local/share/nvim/pckr/pckr.nvim/lua/pckr/jobs.lua:26: attempt to call field 'system' (a nil value)
stack traceback:
        ...afocl/.local/share/nvim/pckr/pckr.nvim/lua/pckr/jobs.lua:26: in function 'fn_or_ret'
        ...focl/.local/share/nvim/pckr/pckr.nvim/lua/pckr/async.lua:30: in function <...focl/.local/share/nvim/pckr/pckr.nvim/lua/pckr/async.lua:7>
Press ENTER or type command to continue

Expected behaviour

install and works

packer files

packer log file ~/.cache/nvim/packer.nvim.log is not exist
packer compiled file contents of `packer_compiled.vim` is not exist
lewis6991 commented 1 year ago

vim.system is only available in nightly. The README needs to be updated.

safocl commented 1 year ago

does this mean that pckr.nvim cannot be run on a non-nightly neovim?

lewis6991 commented 1 year ago

Yes