{"action":"opened","issue":{"url":"https://api.github.com/repos/iron-meteor/iron-cli/issues/179","labels_url":"https://api.github.com/repos/iron-meteor/iron-cli/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/iron-meteor/iron-cli/issues/179/comments","events_url":"https://api.github.com/repos/iron-meteor/iron-cli/issues/179/events","html_url":"https://github.com/iron-meteor/iron-cli/issues/179","id":100648637,"number":179,"title":"Upgrading iron-cli to 1.2 requires manual edit to /.iron/config.json","user":{"login":"dkoo761","id":1085510,"avatar_url":"https://avatars.githubusercontent.com/u/1085510?v=3","gravatar_id":"","url":"https://api.github.com/users/dkoo761","html_url":"https://github.com/dkoo761","followers_url":"https://api.github.com/users/dkoo761/followers","following_url":"https://api.github.com/users/dkoo761/following{/other_user}","gists_url":"https://api.github.com/users/dkoo761/gists{/gist_id}","starred_url":"https://api.github.com/users/dkoo761/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkoo761/subscriptions","organizations_url":"https://api.github.com/users/dkoo761/orgs","repos_url":"https://api.github.com/users/dkoo761/repos","events_url":"https://api.github.com/users/dkoo761/events{/privacy}","received_events_url":"https://api.github.com/users/dkoo761/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-12T22:27:21Z","updated_at":"2015-08-12T22:27:21Z","closed_at":null,"body":"After upgrading iron-cli to version 1.2, the following command:\r\n\r\n`iron g:controller tester`\r\n\r\nproduced this error for an existing iron-cli project:\r\n\r\n`TypeError: Cannot read property 'comments' of undefined`\r\n\r\nEventually I figured out that I had to manually edit /.iron/config.json for my project to add this:\r\n\r\n```\r\n  \"generator\": {\r\n    \"comments\": \"true\"\r\n  }\r\n```\r\n\r\nHopefully this helps anyone else who runs into the same situation. Would be nice if the update to config.json it was handled automagically somehow."}}