Skip to content

Failed to run 'config' for nvim-treesitter #1802

@steve0613

Description

@steve0613

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.

  • [ X ] 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

..local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:387: module 'nvim-treesitter.configs' not found:
no field package preload[' nvim-treesitter.configs'] cache_loader: module 'nvim-treesitter.configs' not found cache_loader_lib: module 'nvim-treesitter.configs' not found no file './nvim-treesitter/configs.lua'
no file '/usr/local/share/luajit-2.1/nvim-treesitter/configs.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter/configs.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter/configs/init.lua' no file './nvim-treesitter/configs.so'
no file '/usr/local/lib/lua/5.1/nvim-treesitter/configs.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file './nvim-treesitter.so'
no file '/usr/local/lib/lua/5.1/nvim-treesitter.so' no file /usr/local/lib/lua/5.1/loadall.so'

stacktrace:

  • .config/nvim/lua/lazy-plugins.lua:15
  • .config/nvim/init.lua:106

To Reproduce

  1. This occurs the first time you run nvim and each time thereafter. In my research I think there was an update to tree sitter and syntax has changed in the way that it is initialized but I could never figure it out.

Desktop

  • OS: macOS Tahoe 26.2
  • Terminal: Apple's system terminal

Neovim Version

NVIM v0.11.5
Build type: Release
LuaJIT 2.1.1765228720

Image

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