GithubHelp home page GithubHelp logo

File "src/jbuild", line 18, characters 17-40: # Error: "ocaml-migrate-parsetree" is not a ppx driver during the opam upgrade with dune-1.0 about ppxlib HOT 9 CLOSED

ocaml-ppx avatar ocaml-ppx commented on June 3, 2024
File "src/jbuild", line 18, characters 17-40: # Error: "ocaml-migrate-parsetree" is not a ppx driver during the opam upgrade with dune-1.0

from ppxlib.

Comments (9)

xclerc avatar xclerc commented on June 3, 2024 10

I stumbled upon this one yesterday.

The fix, as provided to me by @diml, is to reinstall
ocaml-migrate-parsetree after installing the dune
package.

from ppxlib.

neojski avatar neojski commented on June 3, 2024 3

Doing opam update && upam upgrade didn't fix it for me but doing opam uninstall ocaml-migrate-parsetree && opam install ocaml-migrate-parsetree did the trick and I was able to install core after that. I'm using ocaml 4.06.0 and opam 1.2.2.

from ppxlib.

 avatar commented on June 3, 2024 2

This should be fixed since this PR

from ppxlib.

basus avatar basus commented on June 3, 2024 2

The referenced PR seems to have been merged, but I'm still getting the original error. I'm running OCaml 4.06.1 and OPAM 1.2.2 on Arch Linux.

from ppxlib.

jonludlam avatar jonludlam commented on June 3, 2024 1

I also just hit this with just an opam update; opam upgrade - the workaround of reinstalling ocaml-migrate-parsetree worked for me. I'm using opam 2.0.0 rc4.

from ppxlib.

 avatar commented on June 3, 2024

If you do opam update followed by opam upgrade, does it reinstall ocaml-migrate-parsetree?

from ppxlib.

cfcs avatar cfcs commented on June 3, 2024

This is broken for me too, latest version of opam, on debian.

from ppxlib.

cfcs avatar cfcs commented on June 3, 2024

perhaps we could update the constraint in the opam file to be = 1.0.11 since >= 1.0.9 doesn't seem to work?

EDIT: That worked, I made a PR.

from ppxlib.

XVilka avatar XVilka commented on June 3, 2024

I am closing it as solved.

from ppxlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.