umanari145 / contents_renewal

1 stars 0 forks source link

Laravel 5.6 remove `php artisan optimize` #1

Open tarunama opened 6 years ago

tarunama commented 6 years ago

Fail composer install, share log.

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postInstall
> php artisan optimize

  Command "optimize" is not defined.  

ref: https://laravel.com/docs/5.6/upgrade

tarunama commented 6 years ago

Could you confirm this fix

        "post-install-cmd": [
            "Illuminate\\Foundation\\ComposerScripts::postInstall"
        ],
        "post-update-cmd": [
            "Illuminate\\Foundation\\ComposerScripts::postUpdate"
        ]