Skip to content

Failing to install treesitter #1771

@byk4

Description

@byk4

Before Reporting an Issue

  • I have read the kickstart.nvim README.md.

  • I have read the appropriate plugin's documentation.

  • I have searched that this issue has not been reported before.

  • By checking this, I confirm that the above steps are completed. I understand leaving this unchecked will result in this report being closed immediately.

Describe the bug

I have a fresh installation of neovim and I just cloned modular kickstart from https://github.com/dam9000/kickstart-modular.nvim but I was having problems with treesitter installation. So I removed nvim-data as well as deleted the config and cloned the og config from this repo but still I am having the problems. All of this was working fine on my prevous windows 10 os and on mint os. But now I am getting these errors

nvim-treesitter[luadoc (or any language)] Error during compilation
nvim-treesitter[1/11, failed: 1] Checking out locked revision

To Reproduce

  1. We windows 10 machine
  2. install neovim
  3. git clone this repo
  4. get treesitter installation errors.

Desktop

  • OS: Windows 10
  • Terminal: Windows 10 default command prompt

Neovim Version

:version
NVIM v0.11.5 Build type: Release LuaJIT 2.1.1741730670 Run ":verbose version" for more info

TS Info

config info

auto_install = true,                                                                                                                                                                                                                                                           ensure_installed = { "bash", "c", "diff", "html", "lua", "luadoc", "markdown", "markdown_inline", "query", "vim", "vimdoc" },                                                                                                                                                  ignore_install = {},                                                                                                                                                                                                                                                           modules = {                                                                                                                                                                                                                                                                      auto_install = true,                                                                                                                                                                                                                                                           highlight = {                                                                                                                                                                                                                                                                    additional_vim_regex_highlighting = { "ruby" },                                                                                                                                                                                                                                custom_captures = {},                                                                                                                                                                                                                                                          disable = {},                                                                                                                                                                                                                                                                  enable = true,                                                                                                                                                                                                                                                                 loaded = true,                                                                                                                                                                                                                                                                 module_path = "nvim-treesitter.highlight"                                                                                                                                                                                                                                    },                                                                                                                                                                                                                                                                             incremental_selection = {                                                                                                                                                                                                                                                        disable = {},                                                                                                                                                                                                                                                                  enable = false,                                                                                                                                                                                                                                                                keymaps = {                                                                                                                                                                                                                                                                      init_selection = "gnn",                                                                                                                                                                                                                                                        node_decremental = "grm",                                                                                                                                                                                                                                                      node_incremental = "grn",                                                                                                                                                                                                                                                      scope_incremental = "grc"                                                                                                                                                                                                                                                    },                                                                                                                                                                                                                                                                             module_path = "nvim-treesitter.incremental_selection"                                                                                                                                                                                                                        },                                                                                                                                                                                                                                                                             indent = {                                                                                                                                                                                                                                                                       disable = { "ruby" },                                                                                                                                                                                                                                                          enable = true,                                                                                                                                                                                                                                                                 loaded = true,                                                                                                                                                                                                                                                                 module_path = "nvim-treesitter.indent"                                                                                                                                                                                                                                       }                                                                                                                                                                                                                                                                            },                                                                                                                                                                                                                                                                             sync_install = false                                                                                                                                                                                                                                                         }       

health


==============================================================================
nvim-treesitter:                                                            ✅

Installation ~
- ✅ OK `tree-sitter` found (unknown version) (parser generator, only needed for :TSInstallFromGrammar)
- ✅ OK `node` found v22.21.0 (only needed for :TSInstallFromGrammar)
- ✅ OK `git` executable found.
- ✅ OK `cc` executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
  Version: cc (x86_64-posix-seh-rev0, Built by MinGW-Builds project) 15.2.0
- ✅ OK Neovim was compiled with tree-sitter runtime ABI version 15 (required >=13). Parsers must be compatible with runtime ABI.

OS Info:
{
  machine = "x86_64",
  release = "10.0.19045",
  sysname = "Windows_NT",
  version = "Windows 10 Home Single Language"
} ~

Parser/Features         H L F I J

  Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections
         +) multiple parsers found, only one will be used
         x) errors found in the query, try to run :TSUpdate {lang} ~

TSUpdate didn't help...

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