bsansouci / reprocessing-example

79 stars 27 forks source link

Web and native examples fail with runtime exception Not_found accessing hashtable #19

Open jsdf opened 5 years ago

jsdf commented 5 years ago

After f932a1cec6e633e3db14976d750d21dd9d592b0a web and native examples both seem to raise a Not_found exception:

web: throws Caml_builtin_exceptions.not_found accessing hotreloadData hashtable at:

    at Object.find (node_modules/bsb-native/lib/js/hashtbl.js:269:5)
    at Object.run (node_modules/reprocessing/lib/js/src/Reprocessing.js:143:20)
    at eval (lib/js/src/index.js:69:14)
    at loadScript (http://localhost:8000/require_polyfill.js:146:32)
    at http://localhost:8000/require_polyfill.js:149:1"

native:

$ OCAMLRUNPARAM=b npm run start:native

> reprocessing-example@ start:native /Users/jfriend/code/reprocessing-example
> ./lib/bs/native/index.native

Fatal error: exception Not_found
Raised at file "hashtbl.ml", line 136, characters 19-28
Called from file "/Users/jfriend/code/reprocessing-example/node_modules/reprocessing/src/Reprocess", line 119, characters 11-48
Called from file "/Users/jfriend/code/reprocessing-example/src/index.re", line 11, characters 0-22

Checking out 0a4739bfbbe9401b676becb96156a6afb7bdf720 and then running npm install, npm run clean and then building web or native seems to fix both issues.