opam pin add ocaml-lsp-server https://github.com/ocaml/ocaml-lsp.git
opam install ocaml-lsp-server
I keep seeing:
Sorry, no solution found: there seems to be a problem with your request.
So I tried the alternate instructions of building from source. However, I see several errors like:
Error: Library "ppx_yojson_conv_lib" not found. Error: Library "dune-build-info" not found.
Then I ran:
dune external-lib-deps --missing @@default
This seems to have installed the missing libraries, but I’m not sure is the install in correct. Is it? How could I know? VS Code seems to have syntax highlighting and code completion.
And I’d much prefer to be able to use opam to update and upgrade ocaml-lsp-server. Is that still possible for me?
I’ve copied my terminal buffer to pastebin.
I’m using Debian installed from the Microsoft store on WSL2.
Any help would be appreciated.