I'm trying to install a new using Spark, but this is what I get when I go with spark new eth
How can I solve this?
Warning: file_put_contents(/Users/felipepenariveros/Desktop/eth/spark-archive.zip): failed to open stream: No such file or directory in /usr/local/bin/spark-installer/src/Installation/DownloadSpark.php on line 60
Warning: ZipArchive::extractTo(): Invalid or uninitialized Zip object in /usr/local/bin/spark-installer/src/Installation/DownloadSpark.php on line 105
Warning: ZipArchive::close(): Invalid or uninitialized Zip object in /usr/local/bin/spark-installer/src/Installation/DownloadSpark.php on line 107
Warning: file_get_contents(/Users/felipepenariveros/Desktop/eth/composer.json): failed to open stream: No such file or directory in /usr/local/bin/spark-installer/src/Installation/UpdateComposerFile.php on line 55
sh: composer: command not found
Warning: file_get_contents(/Users/felipepenariveros/Desktop/eth/config/app.php): failed to open stream: No such file or directory in /usr/local/bin/spark-installer/src/Installation/AddCoreProviderToConfiguration.php on line 31
Warning: file_put_contents(/Users/felipepenariveros/Desktop/eth/config/app.php): failed to open stream: No such file or directory in /usr/local/bin/spark-installer/src/Installation/AddCoreProviderToConfiguration.php on line 39
Could not open input file: artisan
Warning: file_get_contents(/Users/felipepenariveros/Desktop/eth/config/app.php): failed to open stream: No such file or directory in /usr/local/bin/spark-installer/src/Installation/AddAppProviderToConfiguration.php on line 31
Warning: file_put_contents(/Users/felipepenariveros/Desktop/eth/config/app.php): failed to open stream: No such file or directory in /usr/local/bin/spark-installer/src/Installation/AddAppProviderToConfiguration.php on line 45
yes, I did. Although, this seems to be related to the spark installer. I've followed every step in the office documentation and still can't get this to work properly.
Have you tried installing using composer? There are a few extra steps but its not a big deal. You might also try just deleting the installer and trying to grab it fresh. Did you install the installer globally with composer?
I had the same thing happen to me, the solution was actually to add laravel to my $PATH. For some reason, that didn't happen automatically. I had to add it to the ~/.zshrc, you might need to add it to another file.