bsansouci / bsansouci/reprocessing-example

Web and native examples fail with runtime exception Not_found accessing hashtable

Open
#19 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
77
Forks
26
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.