-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Can't run examples #137
Comments
You need to install a bunch of dependencies. |
Thank you. Would be great to have that in the examples README.md |
Really cool to see how small the compiled artifacts are. Is there a blog or some design docs for this? I think these might be the smallest working wasm binaries I've seen. Curious why stuff is packaged inline in .js instead of .wasm, etc |
The Wasm code is not inline but in the |
i was looking at browser network console, only bc.js was downloaded. Thus assumed it was inlined there |
Oh, are you sure you compiled the examples with the |
Looked at commands above, realizedI just built one example with --profile wasm..Now it works as expected, very cool |
Describe the bug
python3 -m http.server
in_build/default/examples
.bc.js
files.GET http://b550:8000/graph_viewer/viewer_js.bc.js net::ERR_ABORTED 404 (File not found)
Why aren't .bc.js files being generate? Is there some instruction missing?
wasm_of_ocaml/_build/default/examples$ find -name \*.bc.js ./test_wheel/test_wheel.bc.js
Expected behavior
Demos should work
Versions
Testing with git sha
e6ca2d3214908d4c3300d33efcbccec359d8eaf2
of wasm_of_ocamlThe text was updated successfully, but these errors were encountered: