nvim-telescope / telescope-fzf-native.nvim

FZF sorter for telescope written in c
1.35k stars 46 forks source link

fzf' extension doesn't exist or isn't installed: loop or previous error loading module 'telescope._extensions.fzf' #90

Closed crazycodestar closed 1 year ago

crazycodestar commented 1 year ago

Just for context I'm trying to set this up on windows

when I try require('telescope').load_extension('fzf') and try to source the file :so % I get an error

Error detected while processing :source (no file):
E5108: Error executing lua ...lugged\telescope.nvim/lua/telescope/_extensions/init.lua:10: 'fzf' extension doesn't exist or isn't installed: loop or previous error loading module 'telescope._extensions.fzf'
stack traceback:
        [C]: in function 'error'
        ...lugged\telescope.nvim/lua/telescope/_extensions/init.lua:10: in function 'load_extension'
        ...lugged\telescope.nvim/lua/telescope/_extensions/init.lua:62: in function 'load_extension'
        [string ":source (no file)"]:35: in main chunk

I have tried using both cmake and make to re-install telescope-fzf-native.nvim I even tried the make clean && make from this issue

luiz00martins commented 1 year ago

Same. I've installed fzf with scoop, and it's accessible from the powershell that is running nvim, but I still get the error.

Running make inside the telescope-fzf-native.nvim folder doesn't seem to compile, instead just opening a new instance of CMD:

PS C:\Users\luizh\AppData\Local\nvim-data\site\pack\packer\start\telescope-fzf-native.nvim> make
cmd //C mkdir build
Microsoft Windows [Version 10.0.19044.2251]
(c) Microsoft Corporation. All rights reserved.

C:\Users\luizh\AppData\Local\nvim-data\site\pack\packer\start\telescope-fzf-native.nvim>
Conni2461 commented 1 year ago

I am sorry, i dont have a windows machine to test anything but i think it might be a regression introduced with the last commit #87

89 does things but i cant validate if that fixes the issue for you guys. It might just make things worse just like #87

luiz00martins commented 1 year ago

@Conni2461 No biggie. Just ping me when #89 gets published, and I'll test it.

dev4s commented 1 year ago

What you are using for compiling?

luiz00martins commented 1 year ago

@dev4s make, installed by scoop

crazycodestar commented 1 year ago

@dev4s i'm also using make installed by scoop. I also tried cmake

Conni2461 commented 1 year ago

I would have loved if someone could have tried out #89 prior to merging but it is what it is.

I just merged the PR, can anyone confirm, that the issue is resolved. Thanks :)

luiz00martins commented 1 year ago

@Conni2461 Yep, looks fixed to me. Thanks!

dyskette commented 8 months ago

I make the mistake of not having installed make and mingw when opening my pre-configured neovim... after installing them I didn't know what to do, but I found the directory where lazy keeps the files in ~\AppData\Local\nvim-data\lazy\telescope-fzf-native.nvim and after executing make in that directory all is fine.

Thanks!

MrShortcut commented 1 day ago

Delete in the AppData/Local/ folder NVIM-DATA and INSTALL Dependenncies

scoop install gcc scoop install fd scoop install make scoop install cmake

Open Neovim Enjoy!