RishabhRD / popfix

Neovim lua API for highly extensible popup window
83 stars 3 forks source link

Error: Failed to spawn process from job.lua (fd not installed) #19

Open bobbyhouse opened 2 years ago

bobbyhouse commented 2 years ago

It looks like job.lua expects the command "fd" to be installed. Spawning "fd" with args --type f fails if fd is not installed. After I install fd on Mac OS X (brew install fd) all was well.

E5108: Error executing lua ...obby/.local/share/nvim/plugged/popfix/lua/popfix/job.lua:374: Failed to spawn process: { _additional_on_exit_callbacks = {}, _shutdown_check = <userdata 1>, _stderr_results = {}, _stdout_results = {}, _user_on_exit = <function 1>, _user_on_stderr = <function 2>, _user_on_stdout = <function 3>, args = { "--type", "f" }, command = "fd", cwd = "/Users/bobby/git/remote/funraise-ui", enable_handlers = true, enable_recording = true, interactive = true, pid = "ENOENT: no such file or directory", stderr = <userdata 2>, stdin = <userdata 3>, stdout = <userdata 4>, user_data = {},

= <1>{ __index = , _create_uv_options = , _execute = , _pipes_are_closed = , _prepare_pipes = , _reset = , _shutdown = , _stop = , add_on_exit_callback = , and_then = , chain = , chain_status = , co_wait = , is_job = , join = , new = , pid = , result = ,