当我尝试用作曲家安装哨兵时
"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
我尝试重新安装作曲家,开始一个新项目,没有任何作用?
答案 0 :(得分:2)
Cartalyst Sentinel是一个付费套餐,其中Cartalyst Sentry是授权套餐的免费缩小版。您需要支付75美元才能通过Github访问。
答案 1 :(得分:0)
这是最重要的线索(最后的路线,具有讽刺意味):
remote: Repository not found.
fatal: repository 'https://:x-oauth-basic@github.com/cartalyst/support.git/' not found
现在,看http://github.com/cartalyst/support.git你可以看到它确实不存在。
答案 2 :(得分:0)
如果您需要Sentinel,则需要订阅:在页面顶部https://cartalyst.com/manual/sentinel,说:此程序包需要有效订阅。订阅访问。
答案 3 :(得分:0)
您需要订阅,然后转到
Github个人资料 - >设置 - > SSH密钥 - >添加SSH密钥
转到您的计算机并抓取您的用户ssh密钥。