-
-
Notifications
You must be signed in to change notification settings - Fork 602
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
Uncaught (in promise) TypeError: xxx_bgwasm.__wbindgen_start is not a function #3744
Comments
I see. This is blocked by the top-level await support of Rspack and asyncWebAssembly support. Currently, we haven't support |
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
bump |
@ahabhgk What's our plan for top-level await? |
This probably a interop problem, not related to TLA, will fix it later |
Oh, already fixed, please upgrade to latest version by |
System Info
System:
OS: macOS 13.4.1
CPU: (10) arm64 Apple M1 Pro
Memory: 269.05 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 16.20.1 - /opt/homebrew/opt/node@16/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 9.6.2 - /opt/homebrew/bin/npm
Watchman: 2023.07.03.00 - /opt/homebrew/bin/watchman
Browsers:
Chrome: 114.0.5735.198
Safari: 16.5.1
Details
my project is
modernjs
+rspack
, and wasm is compiled into an npm package with wasm-bindgen. When importing the project, it will directly prompt:Uncaught (in promise) TypeError: xxx_bgwasm.__wbindgen_start is not a function
I also reported this problem to modernjs, they thought it was a problem with rspack.
4144#
Reproduce link
https://gitee.com/makisek/modern-demo
Reproduce Steps
you just need
yarn
andyarn dev
The text was updated successfully, but these errors were encountered: