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

fibonacci: script.js:8 Uncaught TypeError: app.generate is not a function #1

Open
philiprhoades opened this issue Jun 21, 2021 · 0 comments

Comments

@philiprhoades
Copy link

Marcus,

This is the closest example I can find to my little WASM exercise but I get this error:

main.wasm.js:9 wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.
(anonymous) @ main.wasm.js:9
main.wasm.js:9 falling back to ArrayBuffer instantiation
(anonymous) @ main.wasm.js:9
script.js:8 Uncaught TypeError: app.generate is not a function
    at onSubmit (script.js:8)
    at HTMLFormElement.onsubmit ((index):14)
onSubmit @ script.js:8
onsubmit @ (index):14

What am I doing wrong?

Thanks,

Phil.

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

1 participant