-
Notifications
You must be signed in to change notification settings - Fork 18
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
shiroa.js failed to load LinkError: import object field '__wbindgen_closure_wrapper1668' is not a Function #100
Comments
The frontend is built against the typst_ts_renderer_bg.wasm installed in node_modules. However, the cli ships a prebuilt typst_ts_renderer_bg.wasm from https://github.com/Myriad-Dreamin/typst/tree/assets-book-v0.2.0 . This mismatch can cause wasm load failures(#100). I have opened #101 to fix it. PTAL |
kxxt
added a commit
to kxxt/shiroa
that referenced
this issue
Jan 19, 2025
Replace independent build script with build.rs by building frontend in build.rs. Disable build timestamp and git info emission to avoid triggering build.rs too often. Fix Myriad-Dreamin#100
kxxt
added a commit
to kxxt/shiroa
that referenced
this issue
Jan 19, 2025
Replace independent build script with build.rs by building frontend in build.rs. Disable build timestamp and git info emission in debug mode to avoid triggering build.rs too often. Fix Myriad-Dreamin#100
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Thanks for creating such a nice project!
I encountered an error when opening the web page hosted by
shiroa serve
:It seems that only my built from source shiroa has this bug. Binary downloaded from GitHub releases is not affected.
I tried to downgrade rust from 1.84 to 1.83 which appears to be what the release CI is using at the time of 0.2.0 release, but this bug still occurs.
The text was updated successfully, but these errors were encountered: