From the error message, it sounds like an error while trying to use postgresql with Caqti. If that's the case, I would try to cut out 'dream' and see if a simple 5-10-line OCaml program can connect with such a database through Caqti.
Comments
Log in with your Bluesky account to leave a comment
Also: Beware that not all packages may work out of the box on Windows, as they tends to require C code and libraries at some point, and setting that up may require fiddling with conf-* files on the opam repository.
Comments
Caqti should however run on Windows, it seems from
https://windows.check.ci.dev/
Are you perhaps using caqti-driver-postgresql?
Also, which versions of the libraries are you using?
uses
https://github.com/ocaml/opam-repository/blob/master/packages/postgresql/postgresql.5.1.3/opam
which uses
https://github.com/ocaml/opam-repository/blob/master/packages/conf-postgresql/conf-postgresql.2/opam
which seem to be supported on Windows.
The status page is green for one of 4.14 or 5.3 on each.
Which OCaml version are you using - you didn't say?
Muchas gracias.