Nvim-treesitter troubleshooting: Difference between revisions

From wikinotes
(Created page with "= Error executing lua Failed to load parser: uv_dlopen = <blockquote> This likely means you'll need to recompile the treesitter parsers.<br> I mostly encounter this while usin...")
 
Line 5: Line 5:
This makes sense, since I likely built this extension using the system or an alternate nvim version.
This makes sense, since I likely built this extension using the system or an alternate nvim version.


The following should workaround it:
Uninstalling/Reinstalling (recompiling) the parser should resolve the issue.
<syntaxhighlight lang="vim">
<syntaxhighlight lang="vim">
TSInstall! all  " force install/reinstall all parsers
:TSUninstall python
:TSInstall python
</syntaxhighlight>
</syntaxhighlight>


See https://github.com/nvim-treesitter/nvim-treesitter/issues/1985
See https://github.com/nvim-treesitter/nvim-treesitter/issues/1985
</blockquote><!-- Error executing lua Failed to load parser: uv_dlopen -->
</blockquote><!-- Error executing lua Failed to load parser: uv_dlopen -->

Revision as of 20:38, 26 December 2021

Error executing lua Failed to load parser: uv_dlopen

This likely means you'll need to recompile the treesitter parsers.
I mostly encounter this while using a nvim provided by a nix environment.
This makes sense, since I likely built this extension using the system or an alternate nvim version.

Uninstalling/Reinstalling (recompiling) the parser should resolve the issue.

:TSUninstall python
:TSInstall python

See https://github.com/nvim-treesitter/nvim-treesitter/issues/1985