1

当我尝试使用作曲家安装哨兵时

"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

我试过重新安装作曲家,开始一个新的项目,没有任何效果?

4

4 回答 4

2

Cartalyst Sentinel 是一个付费包,而 Cartalyst Sentry 是授权包的免费缩小版。你需要支付 75 美元才能通过 Github 访问。

于 2015-02-20T20:44:14.547 回答
0

这是最重要的线索(讽刺的是最后几行):

remote: Repository not found.
fatal: repository 'https://:x-oauth-basic@github.com/cartalyst/support.git/' not found

现在,查看http://github.com/cartalyst/support.git您可以看到它确实不存在。

于 2015-02-07T21:06:02.973 回答
0

如果你想要 Sentinel,你需要订阅:在页面顶部https://cartalyst.com/manual/sentinel上说:这个包需要有效的订阅。订阅访问。

于 2015-03-16T09:04:57.970 回答
0

您需要订阅,然后转到

Github 配置文件 -> 设置 -> SSH KEYS -> 添加 SSH 密钥

转到您的机器并获取您的用户 ssh 密钥。

于 2015-08-19T11:27:58.577 回答