Al lanzar un composer Update dentro de un proyecto me muestra el siguiente error:
Generating autoload files
Illuminate\Foundation\ComposerScripts::postUpdate
php artisan optimize
Script php artisan optimize handling the post-update-cmd event returned with error code 255
El proyecto es este: https://github.com/KodeBlog/Laradmin.git
En el archivo composer.json
tengo estos scripts
:
"scripts": {
"post-root-package-install": [
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"php artisan key:generate"
],
"post-install-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postInstall",
"php artisan optimize"
],
"post-update-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
"php artisan optimize"
]
},
La versión de Composer
es la 1.4.1
¿Cómo puedo solucionarlo?