Spark Setup Issue

Posted: 2015-09-15 12:58:36

During the install https://github.com/laravel/spark I kept getting this error

 Problem 1
    - Installation request for laravel/spark-installer ~1.0 -> satisfiable by laravel/spark-installer[v1.0.0].
    - Conclusion: remove illuminate/support v4.2.17
    - laravel/spark-installer v1.0.0 requires illuminate/support ~5.0 -> satisfiable by illuminate/support[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.6, v5.1.8].
    - Can only install one of: illuminate/support[v5.0.0, v4.2.17].
    - Can only install one of: illuminate/support[v5.0.22, v4.2.17].
    - Can only install one of: illuminate/support[v5.0.25, v4.2.17].
    - Can only install one of: illuminate/support[v5.0.26, v4.2.17].
    - Can only install one of: illuminate/support[v5.0.28, v4.2.17].
    - Can only install one of: illuminate/support[v5.0.33, v4.2.17].
    - Can only install one of: illuminate/support[v5.0.4, v4.2.17].
    - Can only install one of: illuminate/support[v5.1.1, v4.2.17].
    - Can only install one of: illuminate/support[v5.1.13, v4.2.17].
    - Can only install one of: illuminate/support[v5.1.16, v4.2.17].
    - Can only install one of: illuminate/support[v5.1.2, v4.2.17].
    - Can only install one of: illuminate/support[v5.1.6, v4.2.17].
    - Can only install one of: illuminate/support[v5.1.8, v4.2.17].
    - Installation request for illuminate/support == 4.2.17.0 -> satisfiable by illuminate/support[v4.2.17].

Finally I went into my ~/.composer folder. Removed composer.lock then I edited the composer.json to look like this

{
    "require": {
        "laravel/envoy": "~1.0",
        "laravel/installer": "~1.1",
        "laravel/spark-installer": "~1.0"
    }
}

I use Envoy for a lot of my projects so I left that there and made sure to update my installer.

Then I ran, in that folder composer update.

Finally I made sure to add the path to my ~/.bash_profile as

export PATH=$PATH:/Users/alfrednutile/.composer/vendor/bin/

Then ran source ~/.bash_profile

With all that in place I could go to my new Laravel install to run spark install


Tags:

spark laravel php