I'm trying to deploy a small app on fortrabbit but when I look in the console here is the error I have :
Pushing to [email protected]
remote: Step1: Updating repository
remote: -> OK
remote:
remote: Step2: Deploying (strategy: no delete, excludes: no)
remote: -> OK
remote:
remote: Step3: Composer Hook
remote: -> Triggering install - get a coffee
remote: -> Installing way/form [dev-master 25d0667]
remote: -> Installing way/form [dev-master 25d0667]
remote: ! Composer threw 'RuntimeException'
remote: ! Failed to execute git clone --no-checkout '[email protected]:JeffreyWay/Laravel-FormField.git' '/var/www/web/application/htdocs/vendor/way/form' && cd '/var/www/web/application/htdocs/vendor/way/form' && git remote add composer '[email protected]:JeffreyWay/Laravel-FormField.git' && git fetch composer
remote: ! ~~~FAIL~~~
remote: Step4: Executing post-deploy script
remote: ~ PHP Warning: require(/var/www/web/application/htdocs/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/web/application/htdocs/bootstrap/autoload.php on line 17
remote: ~ PHP Fatal error: require(): Failed opening required '/var/www/web/application/htdocs/bootstrap/../vendor/autoload.php' (include_path='.:/opt/php/5.4/share') in /var/www/web/application/htdocs/bootstrap/autoload.php on line 17
remote: ~
remote: !! FAIL !!
remote: !! Script exited with error state
remote: !! FAIL !!
remote: > All Done <
To [email protected]:repository.git
= [up to date] production -> production
2e5a195..4c9ddcc master -> master
updating local tracking ref 'refs/remotes/production/master'
Do you guys have any idea why I have the github error ? Thanks a lot for your help.
Thoma
Ok found it,
I've connect with SSH to fortrabbit and try to do a composer install there. This allowed me to add my github credentials and to clone the missing vendors :