-1
我的作曲家停止工作我不知道爲什麼。我嘗試撤銷應用程序中的更改,但仍然無法正常工作。所以我試圖重新安裝laravel,但現在我不能使用作曲家安裝。我得到這個消息:Laravel Composer停止工作
[Composer\Downloader\TransportException]
The "https://packagist.org/packages.json" file could not be downloaded:
failed to open stream: Connection timed out
如果我跑作曲家診斷我得到這個:
Checking composer.json: OK
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: WARNING
[Composer\Downloader\TransportException] The "http://packagist.org
/packages.json" file could not be downloaded: failed to open stream:
Connection timed out
Checking https connectivity to packagist: WARNING
[Composer\Downloader\TransportException] The "https://packagist.org
/packages.json" file could not be downloaded: failed to open stream:
Connection timed out
Checking github.com rate limit: OK
Checking disk free space: OK
Checking pubkeys:
Tags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0
87719BA6 8F3BB723 4E5D42D0 84A14642
Dev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B 0C708369
153E328C AD90147D AFE50952
OK
Checking composer version:
[Composer\Downloader
\TransportException]
The "https://getcomposer.org/versions" file could not be downloaded:
failed
to open stream: Connection timed out
我試過了,是不是。這是從昨天開始的 –
實際上,我重新啓動了我的連接,它工作。這是一個非常奇怪的行爲? –
我不這麼認爲。根據您提供的診斷日誌,這表明存在連接問題,Composer無法下載它所需的文件。如果再次發生,我很樂意提供幫助。 – ikemesit