Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E5113: Error while calling lua chunk: ...ua/neorg/modules/core/integrations/treesitter/ module.lua:53: Unable to load nvim-treesitter.ts_utils :( #1407

Open
2 tasks done
ttxtea opened this issue Apr 25, 2024 · 2 comments
Labels
bug Issues related to bugs. Please attach a severity, a priority and category with this label.

Comments

@ttxtea
Copy link

ttxtea commented Apr 25, 2024

Prerequisites

  • I am using the latest stable release of Neovim
  • I am using the latest version of the plugin

Neovim Version

NVIM v0.10.0-dev-2947+ge1ca7a7bf

Neorg setup

require("neorg").setup()

Actual behavior

upon starting nvim I get

Error detected while processing ~/.local/share/nvim/rocks/lib/luarocks/rocks-5.
1/rocks.nvim/2.22.0-1/plugin/rocks.lua:                                                
E5113: Error while calling lua chunk: ...ua/neorg/modules/core/integrations/treesitter/
module.lua:53: Unable to load nvim-treesitter.ts_utils :(                              
stack traceback:                                                                       
        [C]: in function 'assert'                                                      
        ...ua/neorg/modules/core/integrations/treesitter/module.lua:53: in function 'lo
ad'                                                                                    
        ...al/share/nvim/rocks/rocks_rtp/lua/neorg/core/modules.lua:403: in function 'l
oad_module'                                                                            
        ...al/share/nvim/rocks/rocks_rtp/lua/neorg/core/modules.lua:335: in function 'l
oad_module'                                                                            
        ...al/share/nvim/rocks/rocks_rtp/lua/neorg/core/modules.lua:204: in function 'l
oad'                                                                                   
        ...al/share/nvim/rocks/rocks_rtp/lua/neorg/core/modules.lua:403: in function 'l
oad_module'                                                                            
        ...jhs/.local/share/nvim/rocks/rocks_rtp/lua/neorg/init.lua:152: in function 'o
rg_file_entered'                                                                       
        ...jhs/.local/share/nvim/rocks/rocks_rtp/lua/neorg/init.lua:69: in function 'se
tup'                                                                                   
        /home/jhs/.config/nvim/lua/plugins/neorg.lua:1: in function 'loader'           
        ...cal/share/nvim/rocks/rocks_rtp/lua/rocks-config/init.lua:48: in function 'tr
y_load_like_require'                                                                   
        ...cal/share/nvim/rocks/rocks_rtp/lua/rocks-config/init.lua:72: in function 'tr
y_load_config'                                                                         
        ...cal/share/nvim/rocks/rocks_rtp/lua/rocks-config/init.lua:104: in function 's
etup'                                                                                  
        ...rocks/rocks_rtp/lua/rocks-config/rocks/hooks/preload.lua:20: in function 'ho
ok'                                                                                    
        ...local/share/nvim/rocks/rocks_rtp/lua/rocks/api/hooks.lua:67: in function 'ru
n_preload_hooks'                                                                       
        .../luarocks/rocks-5.1/rocks.nvim/2.22.0-1/plugin/rocks.lua:59: in main chunk 

Expected behavior

the neorg plugin does not work after the error

Steps to reproduce

just starting nvim

Potentially conflicting plugins

No response

Other information

No response

Help

None

Implementation help

No response

@ttxtea ttxtea added the bug Issues related to bugs. Please attach a severity, a priority and category with this label. label Apr 25, 2024
@github-project-automation github-project-automation bot moved this to added-updated-reopened in sorting neorg issue tracker Apr 25, 2024
@Anrock
Copy link

Anrock commented Apr 25, 2024

#1390

@ttxtea
Copy link
Author

ttxtea commented Dec 20, 2024

Has the treesitter dependency been removed? I just tried to install neorg again after some time, but still get the same
error

Failed to run `config` for neorg  

...ua/neorg/modules/core/integrations/treesitter/module.lua:53: Unable to load nvim-treesitter.ts_utils :(

# stacktrace:                                                                   
  - /neorg/lua/neorg/modules/core/integrations/treesitter/module.lua:53 _in_ **l
oad**                                                                           
  - /neorg/lua/neorg/core/modules.lua:405 _in_ **load_module**                  
  - /neorg/lua/neorg/core/modules.lua:337 _in_ **load_module**                  
  - /neorg/lua/neorg/core/modules.lua:206 _in_ **load**                         
  - /neorg/lua/neorg/core/modules.lua:405 _in_ **load_module**                  
  - /neorg/lua/neorg/init.lua:100 _in_ **org_file_entered**                     
  - /neorg/lua/neorg/init.lua:45 _in_ **setup**                                 
  - .config/nvim/init.lua:30   

I am using

NVIM v0.10.0-dev-2947+ge1ca7a7bf
Build type: RelWithDebInfo
LuaJIT 2.1.1710088188

and try to install neorg with

require("lazy").setup({
  spec = {
    -- add your plugins here
    { "nvim-neorg/neorg",
    lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default
    version = "*", -- Pin Neorg to the latest stable release
    config = true, },
    "neovim/nvim-lspconfig",
  },
  -- Configure any other settings here. See the documentation for more details.
  -- colorscheme that will be used when installing plugins.
  install = { colorscheme = { "habamax" } },
  -- automatically check for plugin updates
  checker = { enabled = true },
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues related to bugs. Please attach a severity, a priority and category with this label.
Projects
None yet
Development

No branches or pull requests

2 participants