【问题标题】:Error installing cartalyst/sentinel安装 cartalyst/sentinel 时出错
【发布时间】:2015-04-07 13:49:11
【问题描述】:

当我尝试使用 composer 安装哨兵时

"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,开始一个新项目,但没有任何效果?

【问题讨论】:

  • 服务器故障,而不是 stackoverflow。
  • @MarcusMüller nosense,它是关于安装 PHP(这是一种编程语言)包。对于 SO 来说,这完全是主题,对于 ServerFault 来说,这将是非常离题的。

标签: git laravel-4 composer-php cartalyst-sentinel


【解决方案1】:

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

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

现在,看看http://github.com/cartalyst/support.git,你会发现它确实不存在。

【讨论】:

    【解决方案2】:

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

    【讨论】:

      【解决方案3】:

      如果您想要 Sentinel,您需要订阅:在页面顶部 https://cartalyst.com/manual/sentinel 上说:此软件包需要有效订阅。订阅访问。

      【讨论】:

        【解决方案4】:

        您需要订阅,然后转到

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

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

        【讨论】:

          猜你喜欢
          • 2017-06-12
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2016-02-21
          • 2016-01-05
          • 2018-07-21
          相关资源
          最近更新 更多