php - Laravel 5.2 - Artisan Optimize - Class 'TestMakeCommand' not found -
i run local environment on docker /w shared code volumes. when dockerfile runs php artisan optimize fails with...
step 14/15 : run composer install && composer update ---> running in 94698cafb7bf not run composer root/super user! see https://getcomposer.org/root details loading composer repositories package information installing dependencies (including require-dev) lock file package operations: 0 installs, 2 updates, 0 removals - updating aws/aws-sdk-php (3.30.0 => 3.30.2): downloading (100%) - updating barryvdh/laravel-ide-helper (v2.3.2 => v2.4.0): downloading (100%) generating autoload files > illuminate\foundation\composerscripts::postinstall > php artisan optimize [symfony\component\debug\exception\fatalthrowableerror] class 'illuminate\foundation\console\testmakecommand' not found script php artisan optimize handling post-install-cmd event returned error code 1 however, run locally php artisan optimize works fine, , if remove composer.json build fine , can run on container no issues, don't understand difference why wouldn't run when building container?
Comments
Post a Comment