fugit2.nvim icon indicating copy to clipboard operation
fugit2.nvim copied to clipboard

bug: Can't install Fugit2 at all after many tries

Open Tekks97 opened this issue 3 months ago • 0 comments

Did you check docs and existing issues?

  • [x] I have read all the plugin docs
  • [x] I have searched the existing issues
  • [x] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

0.12

Operating system/version

MacOS 15.6.1

Describe the bug

Hey there! Your plugin looks like one of the best UI implementations of Git but I can't get it to work for the life of me sadly... (and I tried for almost 2 hours I think).

I digged through the issues and tried disabling rocks, installing lua 5.1 with asdf, installed libgit2 without brew... but nothing works. I also added "libgit2_path = '/opt/homebrew/lib/libgit2.dylib'" but to no avail.

I will leave this error messages here, perhaps you can do something with them (and if you need more, please give me information so I can provide it to you):

Lua :command callback: .../share/nvim/lazy/fugit2.nvim/lua/fugi
t2/core/libgit2.lua:685: dlopen(libgit2.dylib, 0x0005): tried:
'libgit2.dylib' (no such file), '/System/Volumes/Preboot/Crypte
xes/OSlibgit2.dylib' (no such file), '/usr/lib/libgit2.dylib' (
no such file, not in dyld cache), 'libgit2.dylib' (no such file
)
stack traceback:
        [C]: in function 'load'
        .../share/nvim/lazy/fugit2.nvim/lua/fugit2/core/libgit2
.lua:685: in function '__index'
        ...cal/share/nvim/lazy/fugit2.nvim/lua/fugit2/core/git2
.lua:2455: in function 'open'
        ...n/.local/share/nvim/lazy/fugit2.nvim/lua/fugit2/init
.lua:49: in function 'open_repository'
        ...n/.local/share/nvim/lazy/fugit2.nvim/lua/fugit2/init
.lua:86: in function <...n/.local/share/nvim/lazy/fugit2.nvim/l
ua/fugit2/init.lua:85>
Warning: Failed searching manifest: Failed downloading https://nvim-neorocks.github.io/rocks-binaries/manifest-5.1 - failed downloading https://nvim-neorocks.github.io/rocks-binaries/manifest-5.1
        Installing https://luarocks.org/fugit2.nvim-0.2.1-1.src.rock

        Missing dependencies for fugit2.nvim 0.2.1-1:
           nui.nvim (not installed)
           nvim-web-devicons (not installed)
           plenary.nvim (not installed)

        fugit2.nvim 0.2.1-1 depends on lua >= 5.1 (5.1-1 provided by VM: success)
        fugit2.nvim 0.2.1-1 depends on nui.nvim (not installed)
        Installing https://luarocks.org/nui.nvim-0.4.0-1.src.rock


        No existing manifest. Attempting to rebuild...
        nui.nvim 0.4.0-1 is now installed in /Users/samson/.local/share/nvim/lazy-rocks/fugit2.nvim (license: MIT)

        fugit2.nvim 0.2.1-1 depends on nvim-web-devicons (not installed)
        Installing https://luarocks.org/nvim-web-devicons-0.100-1.src.rock


        nvim-web-devicons 0.100-1 depends on lua >= 5.1 (5.1-1 provided by VM: success)
        Cloning into 'plenary.nvim'...
        nvim-web-devicons 0.100-1 is now installed in /Users/samson/.local/share/nvim/lazy-rocks/fugit2.nvim (license: MIT)

        fugit2.nvim 0.2.1-1 depends on plenary.nvim (not installed)
        Installing https://luarocks.org/plenary.nvim-scm-1.rockspec

        Missing dependencies for plenary.nvim scm-1:
           luassert (not installed)

        plenary.nvim scm-1 depends on lua >= 5.1, < 5.4 (5.1-1 provided by VM: success)
        plenary.nvim scm-1 depends on luassert (not installed)
        Installing https://luarocks.org/luassert-1.9.0-1.src.rock

        Missing dependencies for luassert 1.9.0-1:
           say >= 1.4.0-1 (not installed)

        luassert 1.9.0-1 depends on lua >= 5.1 (5.1-1 provided by VM: success)
        luassert 1.9.0-1 depends on say >= 1.4.0-1 (not installed)
        Installing https://luarocks.org/say-1.4.1-3.src.rock


        say 1.4.1-3 depends on lua >= 5.1 (5.1-1 provided by VM: success)
        say 1.4.1-3 is now installed in /Users/samson/.local/share/nvim/lazy-rocks/fugit2.nvim (license: MIT)

        luassert 1.9.0-1 is now installed in /Users/samson/.local/share/nvim/lazy-rocks/fugit2.nvim (license: MIT <http://opensource.org/licenses/MIT>)

        plenary.nvim scm-1 is now installed in /Users/samson/.local/share/nvim/lazy-rocks/fugit2.nvim (license: MIT/X11)

        fugit2.nvim 0.2.1-1 is now installed in /Users/samson/.local/share/nvim/lazy-rocks/fugit2.nvim (license: MIT)
    ○ nvim-web-devicons  diffview.nvim 

Steps To Reproduce

Install Fugit2 with lazy plugin manager with libgit2 installed via brew or via source; Disable and enable rocks, both don't work.

Expected Behavior

Fugit2 should work when I install it

Tekks97 avatar Oct 05 '25 16:10 Tekks97