Skip to content

Instantly share code, notes, and snippets.

@dylanirlbeck
Last active February 6, 2020 20:34
Show Gist options
  • Save dylanirlbeck/401fea3be8969a8eccb22281d4c03b9d to your computer and use it in GitHub Desktop.
Save dylanirlbeck/401fea3be8969a8eccb22281d4c03b9d to your computer and use it in GitHub Desktop.
ocaml-lsp setup and errors
$ esy
error: build failed with exit code: 1
build log:
# esy-build-package: building: @opam/ocaml-lsp-server@github:ocaml/ocaml-lsp:ocaml-lsp-server.opam#007a1af
# esy-build-package: pwd: /Users/dylanirlbeck/.esy/3/b/opam__s__ocaml_lsp_server-701532ad
# esy-build-package: running: 'dune' 'build' '-j' '4' '--root' '.' '--ignore-promoted-rules' '--no-config' '--profile' 'release' 'ocaml-lsp-server.install'
File "vendor/merlin/src/ocaml/preprocess/parser_raw.ml", line 5, characters 2-42:
Error: Unbound value MenhirLib.StaticVersion.require_20190924
error: command failed: 'dune' 'build' '-j' '4' '--root' '.' '--ignore-promoted-rules' '--no-config' '--profile' 'release' 'ocaml-lsp-server.install' (exited with 1)
esy-build-package: exiting with errors above...
building @opam/ocaml-lsp-server@github:ocaml/ocaml-lsp:ocaml-lsp-server.opam#007a1af
esy: exiting due to errors above
{
"dependencies": {
"ocaml": "~4.6.1000",
"@opam/reason": "*"
},
"devDependencies": {
"@opam/ocaml-lsp-server": "ocaml/ocaml-lsp:ocaml-lsp-server.opam#007a1af"
},
"resolutions": {
"@opam/reason": "facebook/reason:reason.opam#ede1f25"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment