-
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
Can not build wasm file from webpacked javascript #243
Comments
Hi @gianghoang74!
From the documentation, it's noted that the Spin javascript SDK is not fully compatible with the browser or Node.js. It implements only a subset of the API. Are you able to share the code you're attempting to compile? |
test.zip |
Thanks for the source code. It looks like an app that makes API calls to bitfinex. Doesn't look too complex.
One other thing that stands out to me is the fact that this appears to run as a standalone app. That is, it has a EDIT: I was incorrect; the v1 SDK supports the |
FWIW, I can confirm the same issue on my end:
If I compile with the v2 SDK (currently alpha, no
|
@bacongobbler Yes, I'm doing some research on how to convert my project to Webassembly. |
Hi all,
I'm having this problem when trying to convert my Javascript file to wasm
In the error line, it already has semicolon at the end.
My javascript file is webpacked with webpack version 5. It can run in node environment.
Can anyone tell what is the problem? Or is there any way I can have more detail of the error?
Thank you and have a nice day
The text was updated successfully, but these errors were encountered: