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
failed to download binaryen-version_90-x86-windows.tar.gz #864
Comments
I have the same problem.I download |
By the way ,
And |
So, can you tell me where |
I know where to download and I had downloaded.I just don't know where to install.I tried |
as same |
I find it can be skipped by |
don't work |
I have the same error. For now I've disabled optimization by adding this in my Cargo.toml [package.metadata.wasm-pack.profile.release]
wasm-opt = false I hope someone give a proper answer. |
This issue is a duplicate of #886 I believe |
I met the same problem in Ubuntu 20.04 LTS.
|
add more infomation:
My cargo.toml is:
my env:
|
This recently has started failing for me using Github Actions. The workarounds mentioned in #886 do not fix this, only disabling
My current workaround is to manually download and run wasm-opt:
|
* Updated wasm-pack to 0.10.1 * Changed the log_level parameter to be optional rather than required (with undefined allowed) * Fixed a css rule that was giving errors * Fixed clipy and fmt warnings * Added fix for Github Actions issue * Fixed the wasm-opt failure by manually downloading and running wasm-opt rustwasm/wasm-pack#864 * Updated npm dependencies to fix vulnerabilities Holding pack parcel still due to no support in parcel 2 for Web Assemblies * Cleaned up the logic in model to account for requestTimeouts being optional Fixed several methods that either weren't returning errors, or would return the first success and not look at further checks * There is a cargo deny error, but there is no fixed version we can move to
replace dependency with the latest version wasm-bindgen = "0.2.78" works for me, i don`t know why |
@asurance I'm not sure what went wrong on your side, but manually installing into |
the lastest version |
@tafia do you happen to know how to set the metadata for Cargo workspaces in order to work around this? |
The file seems to be truly missing from the location it is expecting to download it from . Running the following to install from source resolved the wasm-opt error: cargo install wasm-bindgen-cli |
Maybe you use npm/yarn install wasm-pack. Just remove it and use cargo install instead.
|
This work for me(Macos): wget -O /tmp/binaryen.tar.gz https://github.com/WebAssembly/binaryen/releases/download/version_111/binaryen-version_111-x86_64-macos.tar.gz
tar -xvf /tmp/binaryen.tar.gz -C /tmp
cp /tmp/binaryen-version_111/bin/wasm-opt ~/.cargo/bin/
cp -r /tmp/binaryen-version_111/lib ~/.cargo/
rm -rf /tmp/binaryen.tar.gz /tmp/binaryen-version_111/ |
wired,i can download the file by using browser, but clion just failed. |
我也遇到了相同的问题,不过我已经解决了。 最后将这个路径加入系统环境变量PATH中: 注意设置好环境变量后,需要重新打开一个新的命令控制台。 en My environment is Windows, but I think the solution for other systems should be similar, because I found a feasible solution when I was viewing the source code of If you want to know the specific source code, it is recommended to go and find it yourself, which is not complicated. The key is that before downloading, So the final solution is very simple, on Windows, please place the contents of the downloaded Finally, add this path to the system environment variable PATH: Note that after setting the environment variable, you need to reopen a new command console. |
这个方法好使,我曾经想试试这种方法,但觉得不太可能是这样吧,就没有去试。。。。。 "This method works well. I once thought about trying this approach, but I didn't think it would work like this, so I didn't try it..." |
我先用一个空项目跑了一下witch相同逻辑的空项目,确实能拿到,就直接用了,然后一次成功。但是这个总是下载失败的问题是真的绷不住(host,VPN等等都试了),只能先这样解决了。 |
It does not work |
🐛 Bug description
Describe your issue in detail.
wasm-pack
download error🤔 Expected Behavior
What should have happened?
I am beginner for Rust and Webassembly , I follow the Hello, World! to do
I am run
My Internet is so bad that I want manually install
binaryen-version_90-x86-windows.tar.gz
OS: Window10
Now I have
binaryen-version_90-x86-windows.tar.gz
Where should I put in this file ?
And I try to
wasm-pack
againIt's will stop in
👟 Steps to reproduce
Clear steps describing how to reproduce the issue, including commands and flags run. If you are seeing an error, please include the full error message and stack trace.
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version:
wasm-pack 0.9.1
rustc version:
rustc 1.44.0 (49cae5576 2020-06-01)
The text was updated successfully, but these errors were encountered: