You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python post_build.py (this creates a rocket.wasm in the html folder)
python -m SimpleHTTPServer
Then, when i try to access localhost to see the result, i get directory listing instead of the game running. I don't know how to go directly to the gameplay.
I also tried the traditional way with:
cargo web start --target=wasm32-unknown-unknown
Then i opened http://localhost:8000/ but i get this error:
Uncaught (in promise) LinkError: WebAssembly Instantiation: Import #1 module="env" function="clear_screen" error: function import requires a callable
at
Do you know how to solve this issue?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
I'm getting this strange error when trying to build the project in wasm32-unknown-unknown.
I've tried the way you recommended by following the steps:
Then, when i try to access localhost to see the result, i get directory listing instead of the game running. I don't know how to go directly to the gameplay.
I also tried the traditional way with:
cargo web start --target=wasm32-unknown-unknown
Then i opened http://localhost:8000/ but i get this error:
Do you know how to solve this issue?
Thanks in advance.
The text was updated successfully, but these errors were encountered: