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

TypeError: wasm_exports.crate_version is not a function #58

Open
dpc opened this issue Oct 11, 2021 · 1 comment
Open

TypeError: wasm_exports.crate_version is not a function #58

dpc opened this issue Oct 11, 2021 · 1 comment

Comments

@dpc
Copy link

dpc commented Oct 11, 2021

I'm trying to start a new little (so far empty) project and for starter - just serve it locally to see if it works. Unfortunately I'm hitting TypeError: wasm_exports.crate_version is not a function, no matter which "gl.js" / "js_bundle.js" I use. I've found not-fl3/macroquad#221 , however I'm unsure which file to use exactly as Cargo.toml points at miniquad = "0.3.0-alpha.37"

@PSteinhaus
Copy link
Member

Sorry for only reading this now, I forgot to add a watch for this repo somehow 😅

Could you give me some more context? Do you have a reproducable example? And which versions of gl.js / js_bundle.js did you already try? The file which should work is this one, which I also statically hosted here: https://psteinhaus.github.io/js/js_bundle.js

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