{"action":"created","issue":{"url":"https://api.github.com/repos/nWidart/laravel-modules/issues/18","repository_url":"https://api.github.com/repos/nWidart/laravel-modules","labels_url":"https://api.github.com/repos/nWidart/laravel-modules/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/nWidart/laravel-modules/issues/18/comments","events_url":"https://api.github.com/repos/nWidart/laravel-modules/issues/18/events","html_url":"https://github.com/nWidart/laravel-modules/issues/18","id":168595397,"number":18,"title":"[Module] Service provider not found on production server","user":{"login":"KyawNaingTun","id":6079250,"avatar_url":"https://avatars.githubusercontent.com/u/6079250?v=3","gravatar_id":"","url":"https://api.github.com/users/KyawNaingTun","html_url":"https://github.com/KyawNaingTun","followers_url":"https://api.github.com/users/KyawNaingTun/followers","following_url":"https://api.github.com/users/KyawNaingTun/following{/other_user}","gists_url":"https://api.github.com/users/KyawNaingTun/gists{/gist_id}","starred_url":"https://api.github.com/users/KyawNaingTun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KyawNaingTun/subscriptions","organizations_url":"https://api.github.com/users/KyawNaingTun/orgs","repos_url":"https://api.github.com/users/KyawNaingTun/repos","events_url":"https://api.github.com/users/KyawNaingTun/events{/privacy}","received_events_url":"https://api.github.com/users/KyawNaingTun/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-01T08:42:40Z","updated_at":"2016-08-12T16:04:44Z","closed_at":"2016-08-12T01:38:14Z","body":"I created Employee Module, but error message is appearing on production server like that\r\n\r\n```\r\n[Symfony\\Component\\Debug\\Exception\\FatalThrowableError]               \r\n Class 'Modules\\Employee\\Providers\\EmployeeServiceProvider' not found\r\n```\r\nDevelopment -> Mac\r\nProduction -> Ubuntu server 14.04, Nginx\r\n\r\nI also run a `composer dump-autoload` and `php artisan clear-compiled` on production.\r\n\r\nApplication is running stable on development server.\r\nI don't exactly know this error message. Please help me. Thanks"},"comment":{"url":"https://api.github.com/repos/nWidart/laravel-modules/issues/comments/239487472","html_url":"https://github.com/nWidart/laravel-modules/issues/18#issuecomment-239487472","issue_url":"https://api.github.com/repos/nWidart/laravel-modules/issues/18","id":239487472,"user":{"login":"ederrafo","id":508041,"avatar_url":"https://avatars.githubusercontent.com/u/508041?v=3","gravatar_id":"","url":"https://api.github.com/users/ederrafo","html_url":"https://github.com/ederrafo","followers_url":"https://api.github.com/users/ederrafo/followers","following_url":"https://api.github.com/users/ederrafo/following{/other_user}","gists_url":"https://api.github.com/users/ederrafo/gists{/gist_id}","starred_url":"https://api.github.com/users/ederrafo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ederrafo/subscriptions","organizations_url":"https://api.github.com/users/ederrafo/orgs","repos_url":"https://api.github.com/users/ederrafo/repos","events_url":"https://api.github.com/users/ederrafo/events{/privacy}","received_events_url":"https://api.github.com/users/ederrafo/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T16:04:43Z","updated_at":"2016-08-12T16:04:43Z","body":"Hello @KyawNaingTun @nWidart \r\nThanks\r\nPlease, \r\nWhen I run this command: $ php artisan module:make MyModule\r\nthe Module folder is generated out of app folder.\r\nWhy? :S\r\nMy-project/\r\n                 Modules/\r\n                 app/\r\n                 bootstrap/\r\n                 .\r\n                 .\r\n\r\nI modified the modules.php file, this line:\r\n  'modules' => base_path('app/Modules'),\r\n\r\nThat works, but  I run this command again: $ php artisan module:make OtherModule\r\nI have this error:\r\n[Symfony\\Component\\Debug\\Exception\\FatalThrowableError]               \r\n  Class 'Modules\\Frontend\\Providers\\MyModuleServiceProvider' not found  \r\n  \r\n:'(\r\n\r\n\r\nany suggestions?\r\nThanks"}}
{"actor":{"display_login":"ederrafo"}}