The plugin broke in the master branch after adding commit 64991b18ea7185cd8e1294b19f9cbfc8915a2283. After adding it, when NodeCommClient receives a message with an empty header, it tries to read an error from stderr.
TSServer doesn't handle line breaks correctly on Windows (https://github.com/Microsoft/TypeScript/issues/3403). Because of this the messages are parsed incorrectly, and the plugin gets into the very piece of code where it now tries to read an error. Before it used to just quit the function at that point and the parsing problem went unnoticed, but now the plugin is stuck trying to read stderr.
Addresses https://github.com/microsoft/TypeScript-Sublime-Plugin/issues/765.
The plugin broke in the
master
branch after adding commit 64991b18ea7185cd8e1294b19f9cbfc8915a2283. After adding it, whenNodeCommClient
receives a message with an empty header, it tries to read an error fromstderr
.TSServer doesn't handle line breaks correctly on Windows (https://github.com/Microsoft/TypeScript/issues/3403). Because of this the messages are parsed incorrectly, and the plugin gets into the very piece of code where it now tries to read an error. Before it used to just quit the function at that point and the parsing problem went unnoticed, but now the plugin is stuck trying to read
stderr
.I found the information about the method of solving the problem here: https://github.com/ycm-core/ycmd/pull/503.
Hopefully, this will unblock the new release.