Skip to content
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

Plugin fails to load a WASM file create with GOLANG #51

Open
ethastings opened this issue Jan 23, 2024 · 1 comment
Open

Plugin fails to load a WASM file create with GOLANG #51

ethastings opened this issue Jan 23, 2024 · 1 comment

Comments

@ethastings
Copy link

When attempting to load a WASM that was written in Golang and compiled using GOARCH=wasm GOOS=js go build -o mian.wasm the resulting vite app does not load and has this error in the web browser console:
Uncaught SyntaxError: missing '}' after module specifier list [main.wasm:6:17]

@Menci
Copy link
Owner

Menci commented Jan 23, 2024

Could you please attach the WASM file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants