{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/2531","labels_url":"https://api.github.com/repos/magento/magento2/issues/2531/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/2531/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/2531/events","html_url":"https://github.com/magento/magento2/issues/2531","id":119023663,"number":2531,"title":"There are no commands defined in the \"setup\" namespace.","user":{"login":"DRAJI","id":7078174,"avatar_url":"https://avatars.githubusercontent.com/u/7078174?v=3","gravatar_id":"","url":"https://api.github.com/users/DRAJI","html_url":"https://github.com/DRAJI","followers_url":"https://api.github.com/users/DRAJI/followers","following_url":"https://api.github.com/users/DRAJI/following{/other_user}","gists_url":"https://api.github.com/users/DRAJI/gists{/gist_id}","starred_url":"https://api.github.com/users/DRAJI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DRAJI/subscriptions","organizations_url":"https://api.github.com/users/DRAJI/orgs","repos_url":"https://api.github.com/users/DRAJI/repos","events_url":"https://api.github.com/users/DRAJI/events{/privacy}","received_events_url":"https://api.github.com/users/DRAJI/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magento/magento2/labels/needs%20update","name":"needs update","color":"eb6420"},{"url":"https://api.github.com/repos/magento/magento2/labels/PS","name":"PS","color":"fad8c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-26T11:13:15Z","updated_at":"2016-01-04T14:41:02Z","closed_at":"2016-01-01T22:54:15Z","body":"I have installed latest version of Megento 2, everything was worked fine. I have created one custom module. After activated my custom module, I got an error like \"Setup version for module 'Chilly_Draji' is not specified\". \r\n\r\nWhen i enable my module in first time, I didn't write composer.json file. After creating composer.json file, I can't able to upgrade. when i run command \"php bin/magento setup:upgrade\", got an below error\r\n\r\n [InvalidArgumentException]                               \r\n  There are no commands defined in the \"setup\" namespace.\r\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/168694521","html_url":"https://github.com/magento/magento2/issues/2531#issuecomment-168694521","issue_url":"https://api.github.com/repos/magento/magento2/issues/2531","id":168694521,"user":{"login":"pkhutal","id":15122702,"avatar_url":"https://avatars.githubusercontent.com/u/15122702?v=3","gravatar_id":"","url":"https://api.github.com/users/pkhutal","html_url":"https://github.com/pkhutal","followers_url":"https://api.github.com/users/pkhutal/followers","following_url":"https://api.github.com/users/pkhutal/following{/other_user}","gists_url":"https://api.github.com/users/pkhutal/gists{/gist_id}","starred_url":"https://api.github.com/users/pkhutal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkhutal/subscriptions","organizations_url":"https://api.github.com/users/pkhutal/orgs","repos_url":"https://api.github.com/users/pkhutal/repos","events_url":"https://api.github.com/users/pkhutal/events{/privacy}","received_events_url":"https://api.github.com/users/pkhutal/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T14:41:02Z","updated_at":"2016-01-04T14:41:02Z","body":"Hi,Could You Please tell me how to set ownership permission Because I am having similar issue.\r\n\r\nThanks."}}