当我使用全新安装的Laravel Forge在Ubuntu上运行composer update时,我收到了TransportException。
forge@trust-dale-production-V2:~/default$ composer update
> php artisan clear-compiled
Loading composer repositories with package information
[Composer\Downloader\TransportException]
The "https://api.github.com/repos/amcardwell/trust-dale" file could not be downloaded (HTTP/1.1 404 Not Found)
我能够运行一个作曲家安装...我可以使用git connect到我的git repo和push / pull。这是作曲家诊断的输出:
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
为什么我收到此错误?
答案 0 :(得分:0)
我明白了。我还没有链接github oauth令牌。谢谢:))