Skip to content

:Rocks update fails downloading manifest #645

Closed

Description

@Anrock

Recently this started happening:

[START][2025-05-16 14:56:19] rocks.nvim logging initiated
ERROR | 2025-05-16 14:57:27.584 | ....local/share/nvim/rocks/rocks_rtp/lua/rocks/luarocks.lua:65 | luarocks CLI FAILED
ERROR | 2025-05-16 14:57:27.584 | ....local/share/nvim/rocks/rocks_rtp/lua/rocks/luarocks.lua:66 | Warning: Failed searching manifest: Failed downloading https://nvim-neorocks.github.io/rocks-binaries/dev/manifest-5.1 - failed downloading https://nvim-neorocks.github.io/rocks-binaries/dev/manifest-5.1

Error: No results matching query were found for Lua 5.1.
To check if it is available for other Lua versions, use --check-lua-versions.

ERROR | 2025-05-16 14:57:27.585 | ...im/rocks/rocks_rtp/lua/rocks/operations/helpers/init.lua:138 | Failed to install nvim-treesitter
ERROR | 2025-05-16 14:57:27.585 | ...are/nvim/rocks/rocks_rtp/lua/rocks/operations/update.lua:76 | UPDATE ERROR: Failed to update nvim-treesitter.
ERROR | 2025-05-16 14:58:14.820 | ...are/nvim/rocks/rocks_rtp/lua/rocks/operations/update.lua:176 | Update completed with errors! Run ':Rocks log' for details.

Specifically this error looks like a root cause:

Failed searching manifest: Failed downloading https://nvim-neorocks.github.io/rocks-binaries/dev/manifest-5.1 - failed downloading https://nvim-neorocks.github.io/rocks-binaries/dev/manifest-5.1

I've opened https://nvim-neorocks.github.io/rocks-binaries in browser and at the bottom of the page there is a 5.1 manifest but the url doesn't have dev path segment, while the one that :Rocks update is trying to fetch has dev segment in path and results in 404.

I have no idea why Rocks tries to fetch invalid URL or how to fix this.

Relevant (I think) info:

$ nvim --version
NVIM v0.11.0
Build type: Release
LuaJIT 2.1.1731601260

Excerpt from rocks.toml:

[plugins]
"rocks.nvim" = "2.44.0"
nvim-treesitter= "scm"

Activity

  1. mrcjkb commented on May 16, 2025

    @mrcjkb
    Member

    Hey 👋

    The failed downloading manifest is a luarocks warning, not an error. That's normal.

    nvim-treesitter isn't on luarocks, because version 1.0 hasn't been released yet.
    We've published a nvim-treesitter-legacy-api rock (which provides the legacy API of the master branch of nvim-treesitter). If you want to use nvim-treesitter instead, install it with rocks-git.nvim.

  2. locked and limited conversation to collaborators on May 16, 2025
  3. converted this issue into a discussion #646 on May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions