Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
crazycodestar opened this issue Dec 6, 2022 · 10 comments

Comments

@crazycodestar
Copy link

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
Copy link

luiz00martins commented Dec 11, 2022

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
Copy link
Member

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
Copy link

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

@dev4s
Copy link
Contributor

dev4s commented Dec 12, 2022

What you are using for compiling?

@luiz00martins
Copy link

luiz00martins commented Dec 13, 2022

@dev4s make, installed by scoop

@crazycodestar
Copy link
Author

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

@Conni2461 Conni2461 mentioned this issue Dec 18, 2022
@Conni2461
Copy link
Member

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
Copy link

@Conni2461 Yep, looks fixed to me. Thanks!

@dyskette
Copy link

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
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants