Closed neojski closed 4 years ago
Bonsai is supposed to be used in a JavaScript environment (web browser). You probably want to build main.bc.js instead of main.exe
Oh, indeed, thanks Hugo. After modifying the path in index.html to ../../../../_build/default/web/examples/counters/bin/main.bc.js it works.
I wish I could just type "dune build" with no arguments.
@TyOverby, the examples still need updating to point to the right path.
instead of modifying the path inside index.html, you should ask dune to "build" index.html, which will cause it to be moved into the _build/default/web/examples/etc... path next to the js file. Then the link will work!
Ah, great, thanks!
I tried running hello world example from v0.14 tag but it raises an exception:
When I run run it from the correct path it raises a different exception: