roc icon indicating copy to clipboard operation
roc copied to clipboard

"connection to server is erroring. Header must provide a Content-Length property” errors in VS Code

Open snej opened this issue 1 month ago • 6 comments

  • Installed Roc nightly on my MacBook Pro
  • Installed the VS Code extension
  • Opened a VS code window, pasted in the first “Building An Application” tutorial example, and saved it as “hello.roc"
  • Several error notifications popped up:

Client roc-lang: connection to server is erroring. Header must provide a Content-Length property. {"downloading \u001b[36mhttps":"//github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br\u001b[0m\n into /Users/snej/.cache/roc/packages\n\nContent-Length: 38"} Shutting down server.

Client roc-lang: connection to server is erroring. Header must provide a Content-Length property. {"{\"jsonrpc\"":"\"2.0\",\"result\":null,\"id\":1}Content-Length: 38"} Shutting down server.

Client roc-lang: connection to server is erroring. Header must provide a Content-Length property. {"{\"jsonrpc\"":"\"2.0\",\"result\":null,\"id\":2}Content-Length: 157"} Shutting down server.

The text in the editor does have colors, though, so I assume the language server is running now.

snej avatar May 12 '24 16:05 snej