当我试图用作曲家安装哨兵的时候
"repositories":
[
{
"type": "composer",
"url": "https://packages.cartalyst.com"
}
],
"require": {
"laravel/framework": "4.2.*",
"cartalyst/sentinel": "1.0.*"
},作曲家更新
我得到以下错误:
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing cartalyst/support (v1.1.1)
Downloading: connection... Failed to download cartalyst/support from dist
: The "https://api.github.com/repos/cartalyst/support/zipball/1ba474441bc0d8579e
76d2eed67013f66dd97006" file could not be downloaded (HTTP/1.1 404 Not Found)
Now trying to download from source
- Installing cartalyst/support (v1.1.1)
Cloning 1ba474441bc0d8579e76d2eed67013f66dd97006
[RuntimeException]
Failed to execute git clone --no-checkout "https://c81076146cfe987b80b6d1c3
3f0c832271abd586:***@github.com/cartalyst/support.git" "C:\Users\Max\Dropbo
x\Projects\Libeari-dev\vendor\cartalyst\support" && cd /D "C:\Users\Max\Dro
pbox\Projects\Libeari-dev\vendor\cartalyst\support" && git remote add compo
ser "https://:***@github.com/cartal
yst/support.git" && git fetch composer
Cloning into 'C:\Users\Max\Dropbox\Projects\Libeari-dev\vendor\cartalyst\su
pport'...
remote: Repository not found.
fatal: repository 'https://:x-oauth
-basic@github.com/cartalyst/support.git/' not found我试过重新安装composer,开始一个新的项目,但没有效果?
发布于 2015-02-20 20:44:14
Cartalyst哨兵是一个付费包,因为Cartalyst Sentry是免费缩小版本的授权包。你需要支付75美元才能通过Github访问。
发布于 2015-02-07 21:06:02
这是最重要的线索(讽刺的是,最后一行):
remote: Repository not found.
fatal: repository 'https://:x-oauth-basic@github.com/cartalyst/support.git/' not found现在,看看http://github.com/cartalyst/support.git,您可以看到它确实不存在。
发布于 2015-03-16 09:04:57
如果您想要哨兵,您需要订阅:在页面的顶部,https://cartalyst.com/manual/sentinel说:这个包需要一个有效的订阅。订阅访问权限。
https://stackoverflow.com/questions/28382381
复制相似问题