-
-
Notifications
You must be signed in to change notification settings - Fork 151
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Prerequisites
- I am using the latest stable release of Neovim
- I am using the latest version of the plugin
- I can reproduce the bug with minimal config below
Neovim Version
v0.11.4
Operating system/version
MacOS 26.0
Actual behavior
Installing the plugin with lazy.nvim throws errors:
● rest.nvim 4.42ms start
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/rest.nvim-3.13.0-1.src.rock
Missing dependencies for rest.nvim 3.13.0-1:
nvim-nio (not installed)
mimetypes (not installed)
xml2lua (not installed)
fidget.nvim (not installed)
tree-sitter-http 0.0.33 (not installed)
rest.nvim 3.13.0-1 depends on lua >= 5.1 (5.1-1 provided by VM: success)
rest.nvim 3.13.0-1 depends on nvim-nio (not installed)
Installing https://luarocks.org/nvim-nio-1.10.1-1.src.rock
nvim-nio 1.10.1-1 depends on lua >= 5.1 (5.1-1 provided by VM: success)
No existing manifest. Attempting to rebuild...
nvim-nio 1.10.1-1 is now installed in /Users/aliazhar.khan/.local/share/nvim/lazy-rocks/rest.nvim (license: MIT)
rest.nvim 3.13.0-1 depends on mimetypes (not installed)
Installing https://luarocks.org/mimetypes-1.1.0-2.src.rock
mimetypes 1.1.0-2 depends on lua >= 5.1 (5.1-1 provided by VM: success)
mimetypes 1.1.0-2 is now installed in /Users/aliazhar.khan/.local/share/nvim/lazy-rocks/rest.nvim (license: MIT/X11)
rest.nvim 3.13.0-1 depends on xml2lua (not installed)
Installing https://luarocks.org/xml2lua-1.6-2.src.rock
xml2lua 1.6-2 depends on lua >= 5.1, <= 5.4 (5.1-1 provided by VM: success)
xml2lua 1.6-2 is now installed in /Users/aliazhar.khan/.local/share/nvim/lazy-rocks/rest.nvim (license: MIT)
rest.nvim 3.13.0-1 depends on fidget.nvim (not installed)
Installing https://luarocks.org/fidget.nvim-1.6.0-1.src.rock
fidget.nvim 1.6.0-1 depends on lua >= 5.1 (5.1-1 provided by VM: success)
fidget.nvim 1.6.0-1 is now installed in /Users/aliazhar.khan/.local/share/nvim/lazy-rocks/rest.nvim (license: MIT)
rest.nvim 3.13.0-1 depends on tree-sitter-http 0.0.33 (not installed)
Installing https://luarocks.org/tree-sitter-http-0.0.33-1.src.rock
Missing dependencies for tree-sitter-http 0.0.33-1:
luarocks-build-treesitter-parser >= 5.0.0 (not installed)
tree-sitter-http 0.0.33-1 depends on luarocks-build-treesitter-parser >= 5.0.0 (not installed)
Installing https://luarocks.org/luarocks-build-treesitter-parser-6.0.1-1.src.rock
Missing dependencies for luarocks-build-treesitter-parser 6.0.1-1:
luafilesystem ~> 1 (not installed)
luarocks-build-treesitter-parser 6.0.1-1 depends on lua >= 5.1 (5.1-1 provided by VM: success)
luarocks-build-treesitter-parser 6.0.1-1 depends on luafilesystem ~> 1 (not installed)
Installing https://luarocks.org/luafilesystem-1.8.0-1.src.rock
luafilesystem 1.8.0-1 depends on lua >= 5.1 (5.1-1 provided by VM: success)
env MACOSX_DEPLOYMENT_TARGET=11.0 gcc -O2 -fPIC -I/Users/aliazhar.khan/.local/share/nvim/lazy-rocks/hererocks/include -c src/lfs.c -o src/lfs.o
env MACOSX_DEPLOYMENT_TARGET=11.0 gcc -bundle -undefined dynamic_lookup -all_load -o /var/folders/jg/2wd295xd2zzft8m5wctt6dfw0000gq/T/luarocks_build-LuaFileSystem-1.8.0-1-1047482/lfs.so src/lfs.o
luafilesystem 1.8.0-1 is now installed in /Users/aliazhar.khan/.local/share/nvim/lazy-rocks/rest.nvim (license: MIT/X11)
Error: Failed installing dependency: https://luarocks.org/tree-sitter-http-0.0.33-1.src.rock - Failed initializing build back-end for build type 'treesitter-parser': module 'luarocks.build.treesitter-parser' not found:Failed loading module luarocks.build.treesitter-parser in LuaRocks rock luarocks-build-treesitter-parser 6.0.1-1
no field package.preload['luarocks.build.treesitter-parser']
no file '/Users/aliazhar.khan/.local/share/nvim/lazy-rocks/hererocks/share/lua/5.1/luarocks/build/treesitter-parser.lua'
no file './luarocks/build/treesitter-parser.lua'
no file '/Users/aliazhar.khan/.local/share/nvim/lazy-rocks/hererocks/share/lua/5.1/luarocks/build/treesitter-parser/init.lua'
no file '/Users/aliazhar.khan/.luarocks/share/lua/5.1/luarocks/build/treesitter-parser.lua'
no file '/Users/aliazhar.khan/.luarocks/share/lua/5.1/luarocks/build/treesitter-parser/init.lua'
no file './luarocks/build/treesitter-parser.so'
no file '/Users/aliazhar.khan/.local/share/nvim/lazy-rocks/hererocks/lib/lua/5.1/luarocks/build/treesitter-parser.so'
no file '/Users/aliazhar.khan/.local/share/nvim/lazy-rocks/hererocks/lib/lua/5.1/loadall.so'
no file '/Users/aliazhar.khan/.luarocks/lib/lua/5.1/luarocks/build/treesitter-parser.so'
no file './luarocks.so'
no file '/Users/aliazhar.khan/.local/share/nvim/lazy-rocks/hererocks/lib/lua/5.1/luarocks.so'
no file '/Users/aliazhar.khan/.local/share/nvim/lazy-rocks/hererocks/lib/lua/5.1/loadall.so'
no file '/Users/aliazhar.khan/.luarocks/lib/lua/5.1/luarocks.so'
luarocks-build-treesitter-parser 6.0.1-1 is now installed in /Users/aliazhar.khan/.local/share/nvim/lazy-rocks/rest.nvim (license: MIT)
tree-sitter-http 0.0.33-1 depends on lua >= 5.1 (5.1-1 provided by VM: success)
Failed installing rest.nvim with `luarocks`.
--------------------------------------------------------------------------------
Trying to build from source.
Error: Could not satisfy dependency tree-sitter-http 0.0.35: No results matching query were found for Lua 5.1.
Missing dependencies for rest.nvim scm-1:
tree-sitter-http 0.0.35 (not installed)
rest.nvim scm-1 depends on lua >= 5.1, < 5.4 (5.1-1 provided by VM: success)
rest.nvim scm-1 depends on nvim-nio (1.10.1-1 installed: success)
rest.nvim scm-1 depends on mimetypes (1.1.0-2 installed: success)
rest.nvim scm-1 depends on xml2lua (1.6-2 installed: success)
rest.nvim scm-1 depends on fidget.nvim (1.6.0-1 installed: success)
rest.nvim scm-1 depends on tree-sitter-http 0.0.35 (not installed)
Installed as:
{
"rest-nvim/rest.nvim",
dependencies = {
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
table.insert(opts.ensure_installed, "http")
end,
},
}Output of :checkhealth lazy:
==============================================================================
lazy: 1 ⚠️ 1 ❌
lazy.nvim ~
- {lazy.nvim} version `11.17.1`
- ✅ OK {git} `version 2.50.1 (Apple Git-155)`
- ✅ OK no existing packages found by other package managers
- ✅ OK packer_compiled.lua not found
- ❌ ERROR Issues were reported when loading your specs:
- ⚠️ WARNING {hbac.nvim}: setting a table to `Plugin.config` is deprecated. Please use `Plugin.opts` instead
luarocks ~
- checking `hererocks` installation
- you have some plugins that require `luarocks`:
* `rest.nvim`
* `hererocks`
- ✅ OK {python3} `Python 3.9.6`
- ✅ OK {/Users/me/.local/share/nvim/lazy-rocks/hererocks/bin/luarocks} `3.12.2`
- ✅ OK {/Users/me/.local/share/nvim/lazy-rocks/hererocks/bin/lua} `Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio`
Expected behavior
It should install without errors :)
Steps to reproduce
Follow the steps for lazy.nvim installation.
Minimal config for repro (using lazy.nvim)
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
"rest-nvim/rest.nvim",
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
main = "nvim-treesitter.configs",
opts = {
ensure_installed = { "http" },
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
},
},
},
})Other information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working