nvim-telescope / telescope-media-files.nvim

Telescope extension to preview media files using Ueberzug.
MIT License
445 stars 46 forks source link

fd:Executable not found #45

Closed Sumer312 closed 11 months ago

Sumer312 commented 1 year ago

Hi, I've tried to install this plugin but whenever I enter :Telescope media_files cmd it gives me this error

[telescope] [WARN  16:51:08] /home/$USER/.local/share/nvim/lazy/telescope.nvim/lua/telescope/pickers.lua:489: Finder failed with msg:  ...local/share/nvim/lazy/telescope.nvim/lua/telescope/_.lua:297: fd: Executable not found
[telescope] stack traceback:
[telescope] ^I...local/share/nvim/lazy/telescope.nvim/lua/telescope/_.lua:297: in function 'convert_opts'
[telescope] ^I...local/share/nvim/lazy/telescope.nvim/lua/telescope/_.lua:17: in function 'new'
[telescope] ^I...local/share/nvim/lazy/telescope.nvim/lua/telescope/_.lua:63: in function 'spawn'
[telescope] ^I...cope.nvim/lua/telescope/finders/async_oneshot_finder.lua:48: in function 'finder'
[telescope] ^I...share/nvim/lazy/telescope.nvim/lua/telescope/pickers.lua:485: in function <...share/nvim/lazy/telescope.nvim/lua/telescope/pickers.lua:484>
[telescope] ^I[C]: in function 'pcall'
[telescope] ^I...share/nvim/lazy/telescope.nvim/lua/telescope/pickers.lua:484: in function <...share/nvim/lazy/telescope.nvim/lua/telescope/pickers.lua:450>
Press ENTER or type command to continue
KilloPillers commented 11 months ago

Not an expert, but do you have this package installed?

https://github.com/sharkdp/fd

if so make sure its reachable via the command

which fd

if not then you have to add it to your $PATH or environment variables

Sumer312 commented 11 months ago

Thanks for the response man, but the I got the problem, I was loading the extension in the setup itself, which resulted in this error. Closing this issue