-
Notifications
You must be signed in to change notification settings - Fork 413
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 does not find installed wasm-bindgen #308
Comments
What version of |
|
I had the exact same issue before. The easiest way to fix is setting the patch version. e.g. The wasm-bindgen version has to match the one you have installed exactly. You have a wasm-bindgen v 0.2.19 or something installed, and it is matching on 0.2, so it always fails the check. There is a little blurb with more explanation on the issue: |
Hey, I changed the version in my |
@pcstl wasm-pack will do a full install everytime to ensure that the correct version exists. if you are sure you have the correct version you can run the command with |
Hi Ashley, thanks for the help, but if I try using For what it's worth, I'm just doing a |
@pcstl it's |
@fitzgen I see. Thanks. I had ran |
this should be solved by the latest 0.5.0 release, closing. if it is not fixed please comment with more details and i will reopen! |
🐛 Bug description
On MacOS,
wasm-pack
will always take 4 to 5 minutes to run, stopping at the "[7/8] Installing wasm-bindgen..." stage.🤔 Expected Behavior
wasm-pack
should use an existingwasm-bindgen
install instead of redownloading every time.👟 Steps to reproduce
On a Mac, install
wasm-pack
, NPM, the wasmrustc
backend, andcargo-generate
.Run the following commands:
In the generated project, run:
Both runs of
wasm-pack
will take the same time.🌍 Your environment
Late 2015 MacBook Pro
MacOS High Sierra v10.13.6
wasm-pack version: 0.4.2
rustc version: 1.30.0-nightly
The text was updated successfully, but these errors were encountered: