execvp(ocamlmerlin-server) (no such file) error since upgrading to reason 3.3.3/bs-platform 4.0.5
See original GitHub issueMacOS 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.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok looks like the binary was always called
ocamlmerlin
, but that binary seems to be broken in the latestreason-cli
(3.3.3-macos
). The binary from the previous version (3.3.2-macos-betabeta
) is working. I’ll open an issue withreason-cli
.Issue was confirmed in
reason-cli
and a fix was merged the master already 🚀 https://github.com/reasonml/reason-cli/issues/87