roc
roc copied to clipboard
"connection to server is erroring. Header must provide a Content-Length property” errors in VS Code
- 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.