我搜尋了幾個網站,stackoverflow中的幾個主題嘗試了幾種方法來解決
我準備提供更多信息,也許我以錯誤的方式嘗試了一個好方法 欣賞。
- Downloading laravel/sail (v1.16.2) Failed to download symfony/http-foundation from dist: curl error 28 while downloading https://api.github.com/repos/symfony/http-foundation/zipball/90f5d9726942db69490fe467a3acb5e7154fd555: Operation timed out after 10008 milliseconds with 0 out of 0 bytes received Now trying to download from source - Syncing symfony/http-foundation (v6.1.5) into cache Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos When working with _public_ GitHub repositories only, head to https://github.com/settings/tokens/new?scopes=&description=Composer+on+Mom+2022-10-06+2353 to retrieve a token. This token will have read-only permission for public information only. When you need to access _private_ GitHub repositories as well, go to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+Mom+2022-10-06+2353 Note that such tokens have broad read/write permissions on your behalf, even if not needed by Composer. Tokens will be stored in plain text in "C:/Users/whowe/AppData/Roaming/Composer/auth.json" for future use by Composer. For additional information, check https://getcomposer.org/doc/articles/authentication-for-private-packages.md#github-oauth Token (hidden):
新嘗試:
依照先生的建議NicoHaase 我回顧了 IPv6 部分 結果如下:
Downloading laravel/laravel (v9.3.8) Failed to download laravel/laravel from dist: curl error 28 while downloading api.github.com/repos/laravel/laravel/zipball/…: Operation timed out after 10005 milliseconds with 0 out of 0 bytes received Now trying to download from source
(我可以對我所做的每一步進行截圖)
所有限制都解決了我的問題 但我認為丟失的答案與代理有關 (31/10/2022)