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

Connection to server got closed. Server will not be restarted #358

Closed catgoose closed 2 years ago

catgoose commented 2 years ago

After running :CocUpdate today I get this error when opening any .ts files:

Error: Connection to server got closed. Server will not be restarted. at xp.handleConnectionClosed (/home/asdf/.local/share/nvim/plugged/coc.nvim/build/index.js:229:1006) at xp.handleConnectionClosed (/home/asdf/.local/share/nvim/plugged/coc.nvim/build/index.js:229:29133) at t (/home/asdf/.local/share/nvim/plugged/coc.nvim/build/index.js:229:386) at dN.invoke (/home/asdf/.local/share/nvim/plugged/coc.nvim/build/index.js:34:9670) at hd.fire (/home/asdf/.local/share/nvim/plugged/coc.nvim/build/index.js:34:10436) at gi (/home/asdf/.local/share/nvim/plugged/coc.nvim/build/index.js:35:10897) at dN.invoke (/home/asdf/.local/share/nvim/plugged/coc.nvim/build/index.js:34:9670) at hd.fire (/home/asdf/.local/share/nvim/plugged/coc.nvim/build/index.js:34:10436) at FN.fireClose (/home/asdf/.local/share/nvim/plugged/coc.nvim/build/index.js:34:12716) at ChildProcess. (/home/asdf/.local/share/nvim/plugged/coc.nvim/build/index.js:61:11975)

I reproduced error with minimal nvim configuration. Only removing coc-tsserver stops error from occuring.

chemzqm commented 2 years ago

https://github.com/neoclide/coc-tsserver#troubleshooting

catgoose commented 2 years ago

Thanks for the help. It seems this an open issue with coc-angular:

https://github.com/iamcco/coc-angular/issues/47