Open MiaoAA-Hello opened 5 months ago
What should I do
A cURL error 7 occurs when the server making the API call (i.e. your host) is unable to reach the server to which the call is being made (i.e. Google).
Please make sure your computer can reach https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64-baseline.zip.
You can also try npm install -g bun
to use npm instead.
I try reach the url,can't reach. after that, npm install -g bun after that, changed 3 packages in 2s after that, bun --version can't see version tip. What could be the reason. Is it possible that it's because of NVM. My computer uses NVM for node version control.
------------------ 原始邮件 ------------------ 发件人: "oven-sh/bun" @.>; 发送时间: 2024年4月8日(星期一) 中午1:54 @.>; @.**@.>; 主题: Re: [oven-sh/bun] install error (Issue #10057)
A cURL error 7 occurs when the server making the API call (i.e. your host) is unable to reach the server to which the call is being made (i.e. Google).
Please make sure your computer can reach https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64-baseline.zip.
You can also try npm install -g bun to use npm instead.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
This issue is stale and may be closed due to inactivity. If you're still running into this, please leave a comment.
What version of Bun is running?
1.1
What platform is your computer?
win11
What steps can reproduce the bug?
cmd powershell -c "irm bun.sh/install.ps1|iex"
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
curl: (7) Failed to connect to github.com port 443: Connection refused 警告: The command 'curl.exe https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64-baseli ne.zip -o C:\Users\Administrator.bun\bin\bun-windows-x64-baseline.zip' exited with code 7 Trying an alternative download method... Install Failed - could not download https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64-baseline.zip The command 'Invoke-RestMethod https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64-baseline.zip -OutFile C:\Users\Administrator.bun\bin\bun-windows-x64-baseline.zip' exited with code 7
1