dmmulroy / create-melange-app

The fastest, friendliest, and most delightful way to get started with OCaml, ReasonML, and Melange, geared towards JavaScript and TypeScript developers
120 stars 20 forks source link

Error running dune build #113

Open JoaoVictorGI opened 1 month ago

JoaoVictorGI commented 1 month ago

image

bun run dev
$ dune build && concurrently 'npm:vite-dev' 'npm:dune-watch'
File "dune", lines 49-53, characters 2-109:
49 |   (melange.emit
50 |    (target output)
51 |    (alias melange_ocaml)
52 |    (libraries app)
53 |    (module_systems (es6 mjs)))
Error: Library "melange" not found.
-> required by alias all
-> required by alias default
File "src/dune", line 6, characters 7-18:
6 |   (pps melange.ppx reason-react-ppx)))
           ^^^^^^^^^^^
Error: Library "melange.ppx" not found.
-> required by _build/default/src/App.re.pp.ml
-> required by alias src/all
-> required by alias default
File "src/bindings/dune", line 25, characters 7-18:
25 |   (pps melange.ppx)))
            ^^^^^^^^^^^
Error: Library "melange.ppx" not found.
-> required by _build/default/src/bindings/bindings.pp.ml
-> required by alias src/bindings/all
-> required by alias default
File "src/components/dune", line 15, characters 7-18:
15 |   (pps melange.ppx reason-react-ppx)))
            ^^^^^^^^^^^
Error: Library "melange.ppx" not found.
-> required by _build/default/src/components/Configuration.re.pp.ml
-> required by alias src/components/all
-> required by alias default
error: script "dev" exited with code 1
davesnx commented 1 week ago

Can you describe which steps you did? What versions of tools are you using?

It's very hard to help otherwise.

Thanks