@utchin You have to review what exactly happens during the CI build. Sometimes composer dependencies are installed without the project code and then get copied over. For Spark you have to have the spark folder in place in order to install it successfully.
Unable to install spark
I have Laravel Spark installed in my project, and it works fine locally. I am trying to deploy it via CI and I am having issues.
include(/var/task/vendor/composer/../laravel/spark-aurelius/src/Providers/SparkServiceProvider.php): failed to open stream: No such file or directory
weirdly this only fails when doing php artisan migrate
composer.json has
"laravel/spark-aurelius": "*@dev",
and:
"repositories":
{
"type": "path",
"url": "./spark"
},
This issue only occurs when I am deploying via CI. Locally the symlink is set up correctly. I have deleted vendor and done composer install but still not working.
I have seen this post but no help https://laracasts.com/discuss/channels/spark/class-laravelsparkproviderssparkserviceprovider-not-found
Please or to participate in this conversation.