nvim-neorg / neorg

Modernity meets insane extensibility. The future of organizing your life in Neovim.
GNU General Public License v3.0
6.48k stars 213 forks source link

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

Open ttxtea opened 6 months ago

ttxtea commented 6 months ago

Prerequisites

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

Anrock commented 6 months ago

https://github.com/nvim-neorg/neorg/pull/1390