脚本宝典收集整理的这篇文章主要介绍了php – composer update提供了一个关于私有存储库元数据的404,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
Composer update Loading composer reposITories with package information Your GitHub credentials are required to fetch PRivate repository Metadata (https://github.COM/GrahamCampbell/asset) A token will be created and Stored in "/home/vagrant/.composer/auth.json",your password will never be stored To revoke access to this token you can visit https://github.com/settings/applications Username: Password: Token successfully created [Composer\Downloader\TransportException] The "https://api.github.com/repos/GrahamCampbell/asset" file Could not be downloaded (HTTP/1.1 404 Not Found)
我无法通过这一点,所以我被困住了.
否则你可以使用GitHub API Tokens.
$export GITHUB_access_token=hash-to-your-api-token $composer config -g github-oauth.github.com $GITHUB_ACCESS_TOKEN $composer install
如果您使用的是Vagrant,则可以在配置器中添加环境变量和编写器配置.
在编写页面以在GitHub上生成新的访问令牌时,可以在Settings / DeveloPEr settings / Personal access tokens下找到.
以上是脚本宝典为你收集整理的php – composer update提供了一个关于私有存储库元数据的404全部内容,希望文章能够帮你解决php – composer update提供了一个关于私有存储库元数据的404所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。