-
Notifications
You must be signed in to change notification settings - Fork 226
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
[BUG] Compiling to wasm fails #1844
Comments
Hello @paulm17, could you please pull the latest updates and try again? Navigate to the path cd pkg/development/wasm Then, execute the following command to build: GOOS=js GOARCH=wasm go build -o permify.wasm main.go Alternatively, you can simplify this process by using: make wasm-build Let me know if it works! |
Running the two examples:
|
Hello, as you can see, the second one works, and for the first one, you need to install the |
Yes, I just wanted to confirm with you. Many thanks for resolving this! 👍 |
You are welcome 🙌 |
I'm following the article: https://permify.co/post/wasm-go/
Step 1:
Results in:
The text was updated successfully, but these errors were encountered: