Showing posts with label php sudo composer install on Ubuntu. Show all posts
Showing posts with label php sudo composer install on Ubuntu. Show all posts

sudo composer install on Ubuntu

Wednesday, November 4, 2015

When I run the command:



sudo composer install


to deploy a new laravel 5.1 project, I get this error message:



Script php artisan clear-compiled handling the post-install-cmd event   returned with an error



[RuntimeException]
Error Output: PHP Warning: require(/home/ubuntu/kendo/releases/20151104163402/bootstrap/../vendor/auto load.php): failed to open stream: No such file or directory
in /home/ubuntu/kendo/releases/20151104163402/bootstrap/autoload.php on line 17

PHP Fatal error: require(): Failed opening required '/home/ubuntu/kendo/releases/20151104163402/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/php:
/usr/share/pear') in /home/ubuntu/kendo/releases/20151104163402/bootstrap/autoload.php on line 17


I'm using Laravel's Envoyer to automatically deploy the project
Any Idea?