-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
wasm: Running the go wasm example fails using nodejs #61720
Comments
Seems to be an issue with newer versions of node (>=19)
|
Looks like we got webcrypto on nodejs 19. It conflicts with our own definition of crypto in the wasm exec node: https://nodejs.org/fr/blog/announcements/v19-release-announce#stable-webcrypto |
@seankhliao This is a bug in go and I think the fix should be included in 1.20 (if there is plan for a new hotfix), otherwise wasm on node is broken for versions newer than v19. |
Fixed by #56860 Fix was not ported to go 1.20 |
given our support policy of active LTS, I don't see this qualifying for backport. |
Duplicate of #56860 |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
Simple "Hello World"
What did you see instead?
PS: I am following this example in the wiki
The text was updated successfully, but these errors were encountered: