Could not fetch https://api.github.com/repos/test-lin/db/git/refs/heads?per_page=100, please create a GitHub OAuth token to go over the API rate limit Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+packages.example.org+2018-06-28+0310 to retrieve a token. It will be stored in "/home/vagrant/.config/Composer/auth.json" for future use by Composer.
Your configuration does not allow connections to http://192.168.6.251:3000/PHP/xjwSpider.git. See https://getComposer.org/doc/06-config.md#secure-http for details.
解决方法:
1
Composer config -g secure-http false
4. 拉取的包 Composer.json 配置有误
1 2
[Composer\Repository\InvalidRepositoryException] No valid Composer.json was found in any branch or tag of http://192.168.6.251:3000/PHP/xjwSpider.git, could not load a package from it.