Its easier to just clone repo and run composer update, npm install, etc. That is what I did. I had to deploy a second time and everything worked. Oh, don't forget .env values. In short, I never ran an install command.
Oct 26, 2016
3
Level 1
Trouble Installing Spark
I created a server using laravel forge. I installed the latest node and composer. I installed the spark installer and registered a token. When I run: spark new myapp This happens:
forge@myserver:~$ spark new myapp
sh: 1: laravel: not found
Downloading Spark...
PHP Warning: file_put_contents(/home/forge/myapp/spark-archive.zip): failed to open stream: No such file or directory in /home/forge/.config/composer/vendor/laravel/spark-installer/src/Installation/DownloadSpark.php on line 59
Warning: file_put_contents(/home/forge/myapp/spark-archive.zip): failed to open stream: No such file or directory in /home/forge/.config/composer/vendor/laravel/spark-installer/src/Installation/DownloadSpark.php on line 59
PHP Warning: ZipArchive::extractTo(): Invalid or uninitialized Zip object in /home/forge/.config/composer/vendor/laravel/spark-installer/src/Installation/DownloadSpark.php on line 105
Warning: ZipArchive::extractTo(): Invalid or uninitialized Zip object in /home/forge/.config/composer/vendor/laravel/spark-installer/src/Installation/DownloadSpark.php on line 105
PHP Warning: ZipArchive::close(): Invalid or uninitialized Zip object in /home/forge/.config/composer/vendor/laravel/spark-installer/src/Installation/DownloadSpark.php on line 107
Warning: ZipArchive::close(): Invalid or uninitialized Zip object in /home/forge/.config/composer/vendor/laravel/spark-installer/src/Installation/DownloadSpark.php on line 107
PHP Notice: Undefined offset: 0 in /home/forge/.config/composer/vendor/laravel/spark-installer/src/Installation/DownloadSpark.php on line 120
Notice: Undefined offset: 0 in /home/forge/.config/composer/vendor/laravel/spark-installer/src/Installation/DownloadSpark.php on line 120
PHP Warning: file_get_contents(/home/forge/myapp/composer.json): failed to open stream: No such file or directory in /home/forge/.config/composer/vendor/laravel/spark-installer/src/Installation/UpdateComposerFile.php on line 54
Warning: file_get_contents(/home/forge/myapp/composer.json): failed to open stream: No such file or directory in /home/forge/.config/composer/vendor/laravel/spark-installer/src/Installation/UpdateComposerFile.php on line 54
Level 53
Please or to participate in this conversation.