Hello,
I tried the following installation process for spark:
I created a folder st3
I opened up the folder st3 and installed the laravel installer: composer global require "laravel/installer"
I copied spark-installer into st3 and opened the folder "spark-installer".
Then I typed: composer install
I added the path to spark-installer to my .bash-profile.
I typed spark new spielertunnel3 --team-billing
Then there were some installations and the question: Would you like to install the NPM dependencies? (yes/no) [yes]: yes
I received these errors:
Warning: file_get_contents(/Users/Torben/Sites/st3/spark-installer/spielertunnel3/config/app.php): failed to open stream: No such file or directory in /Users/Torben/Sites/st3/spark-installer/src/Installation/AddCoreProviderToConfiguration.php on line 32
Warning: file_put_contents(/Users/Torben/Sites/st3/spark-installer/spielertunnel3/config/app.php): failed to open stream: No such file or directory in /Users/Torben/Sites/st3/spark-installer/src/Installation/AddCoreProviderToConfiguration.php on line 40
Could not open input file: artisan
Warning: file_get_contents(/Users/Torben/Sites/st3/spark-installer/spielertunnel3/config/app.php): failed to open stream: No such file or directory in /Users/Torben/Sites/st3/spark-installer/src/Installation/AddAppProviderToConfiguration.php on line 32
Warning: file_put_contents(/Users/Torben/Sites/st3/spark-installer/spielertunnel3/config/app.php): failed to open stream: No such file or directory in /Users/Torben/Sites/st3/spark-installer/src/Installation/AddAppProviderToConfiguration.php on line 46
nstalling NPM Dependencies...
npm ERR! install Couldn't read dependencies
npm ERR! Darwin 15.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! path /Users/Torben/Sites/st3/spark-installer/spielertunnel3/package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno -2
npm ERR! package.json ENOENT, open '/Users/Torben/Sites/st3/spark-installer/spielertunnel3/package.json'
npm ERR! package.json This is most likely not a problem with npm itself.
npm ERR! package.json npm can't find a package.json file in your current directory.
But why? How can I fix this? Thanks!
When I try to install it with Composer only, I get this error after entering my GitHub token:
[RuntimeException]
- Installing laravel/spark (v1.0.12)
Downloading: Failed
Failed to download laravel/spark from dist: The "https://api.github.com/repos/laravel/spark/zipball/15f32e597b318d1add45e1312s388b9592b13b" file could not be downloaded (HTTP/1.1 404 Not Found)
Now trying to download from source
- Installing laravel/spark (v1.0.12)
Cloning 15f32e597b318d1add45ea0c2615388213s592b13b
[RuntimeException]
Failed to execute git clone --no-checkout 'https://***:***@github.com/laravel/spark.git' '/Users/Torben/Sites/st3n/spielertunnel3/vendor/laravel/spark' && cd '/Users/Torben/Sites/st3n/spielertunnel3/v
endor/laravel/spark' && git remote add composer 'https://***:***@github.com/laravel/spark.git' && git fetch composer
Cloning into '/Users/Torben/Sites/st3n/spielertunnel3/vendor/laravel/spark'...
remote: Repository not found.
fatal: repository 'https://***:***@github.com/laravel/spark.git/' not found
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.