Did you ever find a solution for this? I'm trying to deploy my Spark app on Heroku and I'm having difficulty making Heroku have access to the private repo. I've tried several variations of including my Github auth token in composer.json and tried using this buildpack that's supposed to fix this, both with no luck. Keep getting 404 not found for the Spark repo.
Aug 16, 2016
16
Level 1
Spark install fails to production server
Hi Guys,
I developed a spark project on my vagrant machine and now trying to deploy my project to the production server (Ubuntu).
First, I pulled my project repo to the production server. Then I executed "composer install" command but received this error:
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
- Installing laravel/spark (v1.0.14)
Downloading: Failed
Failed to download laravel/spark from dist: The "https://api.github.com/repos/laravel/spark/zipball/ac06613a5e7781132a046aea7f3fe4bccc3d6d90" file could not be downloaded (HTTP/1.1 404 Not Found)
Now trying to download from source
- Installing laravel/spark (v1.0.14)
Cloning ac06613a5e7781132a046aea7f3fe4bccc3d6d90
[RuntimeException]
Failed to execute git clone --no-checkout 'https://***:***@github.com/laravel/spark.git' '/var/www/testproject/vendor/laravel/spark' && cd '/var/www/testproject/vendor/laravel/spark' && git remote add composer 'https://***:***@github.com/laravel/spark.git' &&
git fetch composer
Cloning into '/var/www/testproject/vendor/laravel/spark'...
remote: Repository not found.
fatal: repository 'https://***:***@github.com/laravel/spark.git/' not found
I understand that this is something related to Github Spark repo. But how do I set authorization for Github Spark repo?
Please help, I am unable to deploy my project.
Regards.
Please or to participate in this conversation.