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

Wasm-pack doesn't generate all files #112

Closed
jinwook-k opened this issue Apr 26, 2018 · 3 comments
Closed

Wasm-pack doesn't generate all files #112

jinwook-k opened this issue Apr 26, 2018 · 3 comments

Comments

@jinwook-k
Copy link

I was following the tutorial and it mentions at the end that it will generate the a wasm file and a JS wrapper file. I have tried this on Mac and on Windows and it has not generated those files in either case. It compiled the code but it did not copy anything over to the pkg directory, except for the package.json and README file.

Is there something I'm missing?

@mgattozzi
Copy link
Contributor

Hey @JinwookKim! I think this might be related to https://github.com/ashleygwilliams/wasm-pack/issues/102. Do the fixes in there solve your problem?

@jinwook-k
Copy link
Author

@mgattozzi !!! It worked! The cargo install -f wasm-bindgen-cli fixed it for me!
I'm sorry about the dupe issue. I tried looking over all the issues to make sure it wasn't a dupe, but it seemed like I missed the 102 issue.

Thank you so much for your help!

@mgattozzi
Copy link
Contributor

Hey @JinwookKim I appreciate that you did look for it at least! You're not the first one and we're discussing in #115 how to fix this up. Glad it worked out!

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