-
Notifications
You must be signed in to change notification settings - Fork 299
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
[BUG] new wasm-pack version v0.13.0 breaking build #589
Comments
Had the same problem, solved it by installing CMake in your host machine. It seems that some dependency of |
Correct, installing |
Alright well the immediate issue (reliance on cmake) should be resolved once this gets merged upstream rustwasm/wasm-pack#1407 however I do still think it's worth considering pinning to a specific version of |
Is there an existing issue for this?
What version of
workers-rs
are you using?0.0.18
What version of
wrangler
are you using?0.0.18
Describe the bug
A new version of
wasm-pack
was published yesterday which seems to have brokenworker-build
.Ultimately, the
wasm-pack
issue should be addressed/fixed in that project (it has already been reported among a few other issues, on the GH: rustwasm/wasm-pack#1405) however I was a bit surprised that this repository was installing an unpinned/unversioned binary from another project, which can lead to unexpected behavior especially when no action or version change was taken on the user's part.In the meantime, I am manually installing a known-working version of
wasm-pack
manually before invokingworker-build
.That being said, I think it would be a good idea for this project to pin the binaries it installs to specific versions, to avoid unexpected behavior when said upstream binaries publish new versions.
Steps To Reproduce
cargo install -q --git https://github.com/cloudflare/workers-rs --rev 12e011ad9fa2eddd73759908d9d54b5d54dd07ee --bin worker-build
(version shouldn't matter, just using mine as an example)worker-build --release
The text was updated successfully, but these errors were encountered: