[Pkg-javascript-devel] Bug#1006862: the tsserver binary is missing

Cézar cezargaiteiro at protonmail.com
Mon Mar 7 00:14:07 GMT 2022


Package: node-typescript
Version: 4.5.4+ds1-1


Hi, according to the source code: https://salsa.debian.org/js-team/node-typescript/-/blob/master/bin/
this package should include two binaries when it gets installed on any Debian system, however it only
brings the tsc program to the system $PATH and not the tsserver.

Here is the relevant output:

$ dpkg -L node-typescript
. . .
/usr/share/nodejs/typescript/bin
/usr/share/nodejs/typescript/bin/tsc
/usr/share/nodejs/typescript/lib/tsc.js
/usr/share/nodejs/typescript/lib/tsserver.js
/usr/bin/tsc
. . .

This program is necessary for IDEs and plugins that provide autocompletion for javascript files such as the
Dense Analysis (also known as ALE) for Vim and Vscode.

For more details see the contents of:
/usr/share/vim-ale/ale_linters/javascript/tsserver.vim
from the package "vim-ale"

This kind of plugin always look for the executables in the $PATH by default and then in the project's
local directory. If one binary is missing (like tsserver in this case) then the LSP functionality might not
work as expected.

Please include the tsserver binary in the final .deb package.

Cheers.



More information about the Pkg-javascript-devel mailing list