Skip to content

Instantly share code, notes, and snippets.

@enygma
Created July 15, 2016 02:38
Show Gist options
  • Save enygma/59e785ac3fdff5c2deccb5f54ff8a7a1 to your computer and use it in GitHub Desktop.
Save enygma/59e785ac3fdff5c2deccb5f54ff8a7a1 to your computer and use it in GitHub Desktop.
Generating optimized autoload files
> post-update-cmd: Illuminate\Foundation\ComposerScripts::postUpdate
> post-update-cmd: php artisan optimize
Script php artisan optimize handling the post-update-cmd event returned with an error
[RuntimeException]
Error Output:
Exception trace:
() at phar:///var/www/parseci/releases/20160715023715/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:226
Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///var/www/parseci/releases/20160715023715/composer.phar/src/Composer/EventDispatcher/EventDispatche
r.php:95
Composer\EventDispatcher\EventDispatcher->dispatchScript() at phar:///var/www/parseci/releases/20160715023715/composer.phar/src/Composer/Installer.php:296
Composer\Installer->run() at phar:///var/www/parseci/releases/20160715023715/composer.phar/src/Composer/Command/InstallCommand.php:133
Composer\Command\InstallCommand->execute() at phar:///var/www/parseci/releases/20160715023715/composer.phar/vendor/symfony/console/Command/Command.php:259
Symfony\Component\Console\Command\Command->run() at phar:///var/www/parseci/releases/20160715023715/composer.phar/vendor/symfony/console/Application.php:844
Symfony\Component\Console\Application->doRunCommand() at phar:///var/www/parseci/releases/20160715023715/composer.phar/vendor/symfony/console/Application.php:192
Symfony\Component\Console\Application->doRun() at phar:///var/www/parseci/releases/20160715023715/composer.phar/src/Composer/Console/Application.php:227
Composer\Console\Application->doRun() at phar:///var/www/parseci/releases/20160715023715/composer.phar/vendor/symfony/console/Application.php:123
Symfony\Component\Console\Application->run() at phar:///var/www/parseci/releases/20160715023715/composer.phar/src/Composer/Console/Application.php:102
Composer\Console\Application->run() at phar:///var/www/parseci/releases/20160715023715/composer.phar/bin/composer:43
require() at /var/www/parseci/releases/20160715023715/composer.phar:24
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verb
ose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] [<packages>]...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment