failure to run texlab
See original GitHub issueHere is what I get after :CocInstall coc-texlab :
|| [coc.nvim] Server TexLab failed to start: Launching server using command /home/teto/.config/coc/extensions/coc-texlab-data/texlab failed.
|| [coc.nvim] error: Uncaught exception: Error: spawn /home/teto/.config/coc/extensions/coc-texlab-data/texlab ENOENT
|| at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
|| at onErrorNT (internal/child_process.js:415:16)
|| at process._tickCallback (internal/process/next_tick.js:63:19)
|| [coc.nvim] error: UnhandledRejection: Launching server using command /home/teto/.config/coc/extensions/coc-texlab-data/texlab failed.
|| Error: Launching server using command /home/teto/.config/coc/extensions/coc-texlab-data/texlab failed.
|| at LatexLanuageClient.createMessageTransports (/nix/store/msw262zm4fsp7mrjms6x9kkldjigrlvd-vimplugin-coc-nvim-0.0.73/share/vim-plugins/coc-nvim/build/index.js:72369:23)
|| [coc.nvim] Installed extension: coc-texlab
|| [coc.nvim] error: UnhandledRejection: Launching server using command /home/teto/.config/coc/extensions/coc-texlab-data/texlab failed.
|| Error: Launching server using command /home/teto/.config/coc/extensions/coc-texlab-data/texlab failed.
|| at LatexLanuageClient.createMessageTransports (/nix/store/msw262zm4fsp7mrjms6x9kkldjigrlvd-vimplugin-coc-nvim-0.0.73/share/vim-plugins/coc-nvim/build/index.js:72369:23)
|| UnhandledRejection: Launching server using command /home/teto/.config/coc/extensions/coc-texlab-data/texlab failed.
|| Error: Launching server using command /home/teto/.config/coc/extensions/coc-texlab-data/texlab failed.
|| at LatexLanuageClient.createMessageTransports (/nix/store/msw262zm4fsp7mrjms6x9kkldjigrlvd-vimplugin-coc-nvim-0.0.73/share/vim-plugins/coc-nvim/build/index.js:72369:23)
|| [coc.nvim] Server TexLab failed to start: Launching server using command /home/teto/.config/coc/extensions/coc-texlab-data/texlab failed.
|| [coc.nvim] error: Uncaught exception: Error: spawn /home/teto/.config/coc/extensions/coc-texlab-data/texlab ENOENT
|| at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
|| at onErrorNT (internal/child_process.js:415:16)
|| at process._tickCallback (internal/process/next_tick.js:63:19)
|| UnhandledRejection: Launching server using command /home/teto/.config/coc/extensions/coc-texlab-data/texlab failed.
|| Error: Launching server using command /home/teto/.config/coc/extensions/coc-texlab-data/texlab failed.
|| at LatexLanuageClient.createMessageTransports (/nix/store/msw262zm4fsp7mrjms6x9kkldjigrlvd-vimplugin-coc-nvim-0.0.73/share/vim-plugins/coc-nvim/build/index.js:72369:23)
and the file
file /home/teto/.config/coc/extensions/coc-texlab-data/texlab
/home/teto/.config/coc/extensions/coc-texlab-data/texlab: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=50bdeb375c70028854fce2768ffa250cc3b62a09, with debug_info, not stripped
Do I miss a binary ? I am not familiar with the nodejs ecosystem, can it be due to a version mismatch ?
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Texlab LSP server crashes on launch : r/neovim - Reddit
texlab version is 4.3.2, and running texlab -vvvv --log-file gives no output in the file, ... Kate LSP configuration error: failed to start...
Read more >Eglot Failed to completion for commands defined in specified ...
I successfully use Eglot with Digestif[1]. I would try TexLab[2] that Joost mentioned as well but it's not as easy for me to...
Read more >Troubleshooting - LSP Mode - LSP support for Emacs
If lsp-mode is unable to find the binary but it is on the path it is probably caused by the fact that emacs...
Read more >LaTeX | Nova Extensions - Panic Inc.
The easiest way to install TexLab is to first install Homebrew and then run brew install texlab in a terminal. If no language...
Read more >Texas Labor Code - Workers' Compensation Act
SUSPENSION OR REVOCATION OF CERTIFICATE FOR FAILURE TO ... Department of Insurance to administer and operate the workers' compensation system of this state ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@teto texlab is now packaged in NixOS, see https://github.com/NixOS/nixpkgs/pull/73087 . Hence it shouldn’t be a problem running it if installed with
nix-env
. However, From some reason coc-texlab still doesn’t detecttexlab
in my $PATH and so the workaround I’ve come up with was linking~/.nix-profile/bin/texlab
to~/.config/coc/extensions/coc-texlab-data/texlab
BTW, I really like coc-texlab so far, it’s so much faster then coc-vimtex!
I got it to work on NixOS using the following in my
shell.nix
file:See: https://gitlab.com/sumner/lug-gui-toolkits/-/commit/0fb53c85a5ce955d18123fdfdeebcf1598c4ad90#1c8850d899c3d82e376483b81036f45e579d8afe for full context.