I’m working through the below tutorial:
I’m guessing it isn’t up-to-date.
cd into ex then enter make, RET, which outputs:
Error: Unbound module Lwt_js_events
a) What steps need performed so that the tutorial examples work?
b) If a) is too broad, what steps do I need to take to correct the above error?
Thank you for your help!
Yes, it is exactly that.
To fix the error you mentioned, you have to write
Js_of_ocaml_lwt.Lwt_js_events instead of
Lwt_js_events. I don’t know if you have already changed this but you also need to replace occurrences of
By the way, it is strange that the link Introduction brings one to https://ocsigen.org/tuto/6.4/manual/intro.html even though the latest version of Eliom is 6.10.1 (see opam - eliom).