当我使用新安装的Laravel Forge在Ubuntu上运行composer update时,我得到了一个TransportException。
forge@trust-dale-production-V2:~/default$ composer update
> php artisan clear-compiled
Loading composer repositories with package information
[ComposerDownloaderTransportException]
The "https://api.github.com/repos/amcardwell/trust-dale" file could not be downloaded (HTTP/1.1 404 Not Found)
我能够运行一个作曲家安装…我可以用git连接到我的git仓库,然后推/拉。下面是composer diag的输出:
forge@trust-dale-production-V2:~/default$ composer diag
Checking composer.json: WARNING
require.yangqi/htmldom : unbound version constraints (dev-master) should be avoided
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com rate limit: OK
Checking disk free space: OK
Checking pubkeys: FAIL
Missing pubkey for tags verification
Missing pubkey for dev verification
Run composer self-update --update-keys to set them up
Checking composer version: OK
为什么我得到这个错误?
我明白了。我还没有一个github认证令牌链接。谢谢:)