question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

execvp(ocamlmerlin-server) (no such file) error since upgrading to reason 3.3.3/bs-platform 4.0.5

See original GitHub issue

MacOS v10.13.6

Everything has been working great for months until I upgraded bs-platform to v4.0.5 (both globally and in-project) and reason-cli (globally) to 3.3.3-macos.

Now when I try to open any .re file the extension throws an error:

ocamlmerlin error: execvp(ocamlmerlin-server): No such file or directory merlin path: /Users/tepple/.asdf/installs/nodejs/10.8.0/.npm/lib/node_modules/reason-cli/bin/ocamlmerlin-server socket path: /var/folders/gs/klj2134gn/T//<not computed yet>

I looked in that referenced directory and the ocamlmerlin executable does exist… just like it did before. If I run ./ocamlmerlin directly in that directory I get the same error message:

tepple@tme-imac-2014: bin (master)$ ./ocamlmerlin
execvp(ocamlmerlin-server): No such file or directory
merlin path: /Users/tepple/.asdf/installs/nodejs/10.8.0/.npm/lib/node_modules/reason-cli/bin/ocamlmerlin-server
socket path: /var/folders/gs/6v085qc96nn_hd5tmq3nzgc80000gn/T//<not computed yet>

This might actually be an issue with https://github.com/reasonml/reason-cli since I have an older version in another directory which when I run ./ocamlmerlin it works.

screen shot 2018-08-15 at 4 12 37 pm

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
pascalwcommented, Aug 18, 2018

Ok looks like the binary was always called ocamlmerlin, but that binary seems to be broken in the latest reason-cli (3.3.3-macos). The binary from the previous version (3.3.2-macos-betabeta) is working. I’ll open an issue with reason-cli.

0reactions
pascalwcommented, Aug 20, 2018

Issue was confirmed in reason-cli and a fix was merged the master already 🚀 https://github.com/reasonml/reason-cli/issues/87

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gcc error: gcc: error trying to exec 'cc1': execvp: No such file or ...
Explanation. The error message told us, that the build-time dependency (in this case it is cc1 ) was not found, so all we...
Read more >
"gcc: error trying to exec 'as': execvp: No such file or directory ...
I am trying to compile TensorFlow with non-default GCC. 5.4.0, and get follwing error: gcc: error trying to exec 'as': execvp: No such...
Read more >
gcc: error trying to exec 'cc1' execvp no such file or directory
Description of problem: Everytime I execute gcc I get the error "gcc: error trying to exec 'cc1' execvp no such file or directory"....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found