-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local package commands not found #23
Comments
Hi Adam, Even though we already moved to another library I will try to explain the error so you can fix it for your current and future users. In all our projects we divide our code in domains, so we create Modules using composer and laravel. Issue description https://github.com/rafatga/thepinecode-i18n-issue/blob/master/Modules/Admin/Providers/AdminServiceProvider.php Before installing (thepinecode /i18n) After the installation of (thepinecode /i18n) Bug |
#18 is reverted now. |
It's a rare bug that I found today...
If you have any local package registered in your app, and you have i18n installed, laravel seems to be unable to register package commands with the typical code in the package Service Provider:
if($this->app->runningInConsole()){
$this->commands([
MyCommandClass:class,
]);
}
The text was updated successfully, but these errors were encountered: