安装laravel / spark失败[无法执行git clone --no-checkout]

时间:2018-04-13 20:48:25

标签: git laravel laravel-5 composer-php

我使用GitHub桌面从GitHub克隆私人laravel项目,该项目包含spark库。

我有团队工作的火花帐户。我将Github连接到它并加入了回购

enter image description here

然后我在项目的root上执行了composer install命令,但在尝试安装spark时遇到以下错误

- Installing laravel/spark (v4.0.13): Downloading (failed)    
Failed to download laravel/spark from dist: The "https://api.github.com/repos/laravel/spark/zipball/972a0d0231d75f108b13363af95b848054d521a7" file could not be downloaded (HTTP/1.1 404 Not Found)
    Now trying to download from source
  - Installing laravel/spark (v4.0.13): Cloning 972a0d0231


  [RuntimeException]
  Failed to execute git clone --no-checkout "https://***:***@github.com/laravel/spark.git" 
"C:\xampp\htdocs\myproject\vendor\laravel\spark" && cd /D "C:\xampp\htdocs\myproject\vendor\laravel\spark" && git remote add composer "
  https://***:***@github.com/laravel/spark.git" && git fetch composer

  Cloning into 'C:\xampp\htdocs\myproject\vendor\laravel\spark'...
  remote: Repository not found.
  fatal: repository 'https://***:***@github.com/laravel/spark.git/' not found

composer.json包含the documentation

中描述的spark
"require": {
        "php": ">=7.1",
        "algolia/algoliasearch-client-php": "^1.20",
        "barryvdh/laravel-dompdf": "^0.8.2",
        "chumper/zipper": "1.0.x",
        "laravel/cashier": "~7.0",
        "laravel/framework": "5.5.*",
        "laravel/spark": "~4.0",
        ...
}

"repositories": [
        {
            "type": "composer",
            "url": "https://spark-satis.laravel.com"
        }
    ]

我的操作系统是Windows 10

节点版本9.11.1

npm版本5.6.0

laravel installer 2.0.1

0 个答案:

没有答案