neoclide / coc-tsserver

Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript
MIT License
1.05k stars 68 forks source link

tsserver.watchBuild working in Windows with NPM #414

Open blasco opened 1 year ago

blasco commented 1 year ago

Everything works great (auto completion, error diagnostics, etc), but when trying to run the CocCommand tsserver.watchBuild, it fails in windows with npm:

Invalid value for argument cmd: 'C:\Users\blasc\AppData\Local\coc\extensions\node_modules\coc-tsserver\node_modules\typescript\bin\tsc' is not executable

for some reason, the tsc.cmd is missing. But it seems to work fine for all the other things. Any idea what could be going on and how it could be fixed?