-
Notifications
You must be signed in to change notification settings - Fork 22
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
running prod.sh webpage is stuck in "loading..." #5
Comments
I'm not aware of any problems but a few things you might try:
rm -rf ./dist
rm -rf server/target
rm -rf frontend/target |
Also the version of Firefox you are running is a year old. If the above doesn't help I would try to update. Wasm support is still actively developed. |
Running But Recompiling from scratch doesn't change anything. Javascript console has no errors and Browser console has this error for both This Firefox version is the newest available in Debian Stable repository. |
If I remove |
Yeah strange. One way to debug this is to put a breakpoint into the auto-generated And just in case the last error is the cause. Try removing the But generally that seems to be a browser issue, in particular with the FF version you are using. I have tested the example successfully with FF 103 on Linux, macOS and Windows. |
When using
With unmodified
|
No change in behaviour, except I now get request for favicon and then different error about it, but otherwise same behaviour (i.e. works without
I don't think I'm able to test that as I don't think it's possible to install newer FF alongside my current one so that newer doesn't touch any data of my current FF - they both would use same config directory and possibly destroy my current user data. ps. Looks like Firefox ESR 91 hits EOL in 1 month, so Debian Stable should update to Firefox ESR 102 soon. |
Hey, thank you for testing and investigating. Having the output differ is really strange and seems to be what the issue is. I can currently only test on macOS but I get the same I've pushed a change, modifying the setup (using a cargo workspace) and using a separate CARGO_TARGET_DIR for the trunk build. Could see if this makes a difference (maybe run first the |
Could be related if it's target dir issue as I have set a global absolute path for target dir (and to counter that I've lately used local |
Adding file |
ok, it's this bug: rust-lang/rust#93294 Closing as this is a known bug in wasm-bindgen. |
Interesting, I had no idea. Thanks for following up on that, I'll update the guide. |
When running prod.sh and going to http://localhost:8080/ the webpage stays at "loading..."
Console shows following output:
There are no errors or messages in JavaScript console and I don't know how to debug why this isn't working.
OS: Debian 11
Browser: Firefox ESR 91.12.0esr
The text was updated successfully, but these errors were encountered: