You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run composer update command Laravel always dies when calling @php artisan package:discover --ansi both on local docker environment and gitlab runner's machine.
First I tried with 12.19.x, the most recent Laravel and then I began to decrease Laravel's version, without any result.
As I debug, the problem is, that in the Command file's constructor does not know $this->laravel, even if the app() returns with that.
If I put $this->laravel = app(); into the Command's constructor manually then run composer update again then it works well, but I can't do that on deploy or live environment.