atom-ocaml / ocaml-merlin

Linting and autocompletion for Ocaml in Atom
MIT License
24 stars 3 forks source link

SIlent failure for v0.11 #31

Closed zepalmer closed 7 years ago

zepalmer commented 7 years ago

I'm using OCaml 4.02.3 for a project. Recently, I upgraded to v0.11.2 of this package and discovered that, upon launching Atom, no errors were displayed at all. On launch, the debug console produced a PID for ocamlmerlin and that process was indeed running, but no amount of keyboard mashing detected any errors.

Installing v0.10.3 of the package results in getting errors immediately, but v0.11.0 does not. I don't see anything especially suspicious in the diff except that the "providedServices" key claims a different version. Of course, I'm unfamiliar with the space and so don't have any idea if this is the culprit.

Here's the information that seems relevant:

Please let me know if I can provide additional info. Thank you for making my coding life easier!

314eter commented 7 years ago

Since v0.11.0, linter v2 is required. That's why the providedServices version is different.

zepalmer commented 7 years ago

Is there some mechanism for enforcing this in Atom? It's currently possible to install v0.11.2 without installing linter v2, but I seem to remember something about Atom being pretty lax in enforcing version dependencies.

The source of my problem is apparently that I'm running an older version of Atom (1.7.3); the lack of an automatic update process has hurt me here. :-/ The newest version of linter requires v1.14.0 or newer, so apm was ignoring updates for the linter package. I think that's what got me into this bind.

Thanks for your help and patience!

314eter commented 7 years ago

I published v0.12.1 for older versions of atom (<1.14.0), and made v0.13.0 require 1.14.0.

zepalmer commented 7 years ago

Oo; thank you!