{"action":"created","issue":{"url":"https://api.github.com/repos/simplabs/ember-cli-simple-auth-torii/issues/7","labels_url":"https://api.github.com/repos/simplabs/ember-cli-simple-auth-torii/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/simplabs/ember-cli-simple-auth-torii/issues/7/comments","events_url":"https://api.github.com/repos/simplabs/ember-cli-simple-auth-torii/issues/7/events","html_url":"https://github.com/simplabs/ember-cli-simple-auth-torii/issues/7","id":60296558,"number":7,"title":"TypeError: Cannot read property 'writeLine' of undefined","user":{"login":"adamsrog","id":2949291,"avatar_url":"https://avatars.githubusercontent.com/u/2949291?v=3","gravatar_id":"","url":"https://api.github.com/users/adamsrog","html_url":"https://github.com/adamsrog","followers_url":"https://api.github.com/users/adamsrog/followers","following_url":"https://api.github.com/users/adamsrog/following{/other_user}","gists_url":"https://api.github.com/users/adamsrog/gists{/gist_id}","starred_url":"https://api.github.com/users/adamsrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamsrog/subscriptions","organizations_url":"https://api.github.com/users/adamsrog/orgs","repos_url":"https://api.github.com/users/adamsrog/repos","events_url":"https://api.github.com/users/adamsrog/events{/privacy}","received_events_url":"https://api.github.com/users/adamsrog/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-09T04:16:19Z","updated_at":"2015-03-13T10:17:21Z","closed_at":"2015-03-10T01:06:18Z","body":"Just upgraded an app to ember-cli 0.2.0 released earlier this evening.  Was getting a strange error when attempting to `ember install`.  Tracked it down to the ember-cli-simple-auth-torii addon.  \r\n\r\nThis can be reproduced with these steps:\r\n`ember new test-app`\r\n`ember install:addon ember-cli-simple-auth-torii`\r\n\r\nThis is the error it throws when it attempts to install the addon (and when using `ember serve`):\r\n```\r\nCannot read property 'writeLine' of undefined\r\nTypeError: Cannot read property 'writeLine' of undefined\r\n    at AddonDiscovery.<anonymous> (/Users/adamsrog/Workspace/rog/test-app/node_modules/ember-cli/lib/models/addon-discovery.js:109:21)\r\n    at Array.map (native)\r\n    at AddonDiscovery.discoverFromDependencies (/Users/adamsrog/Workspace/rog/test-app/node_modules/ember-cli/lib/models/addon-discovery.js:94:68)\r\n    at AddonDiscovery.discoverChildAddons (/Users/adamsrog/Workspace/rog/test-app/node_modules/ember-cli/lib/models/addon-discovery.js:61:31)\r\n    at Class.Addon.discoverAddons (/Users/adamsrog/Workspace/rog/test-app/node_modules/ember-cli/lib/models/addon.js:172:40)\r\n    at Class.Addon.initializeAddons (/Users/adamsrog/Workspace/rog/test-app/node_modules/ember-cli/lib/models/addon.js:188:8)\r\n    at setupRegistryForEachAddon (/Users/adamsrog/Workspace/rog/test-app/node_modules/ember-cli/lib/preprocessors.js:18:10)\r\n    at Object.module.exports.setupRegistry (/Users/adamsrog/Workspace/rog/test-app/node_modules/ember-cli/lib/preprocessors.js:46:3)\r\n    at Class.Addon (/Users/adamsrog/Workspace/rog/test-app/node_modules/ember-cli/lib/models/addon.js:83:5)\r\n    at new Class (/Users/adamsrog/Workspace/rog/test-app/node_modules/ember-cli/node_modules/core-object/core-object.js:16:17)\r\n```\r\n\r\nOut of curiosity, I tested the other `ember-cli-simple-auth-*` addons (`cookie-store`, `devise`, `oauth2`, `testing`).  None of those threw this error.\r\n\r\nMy environment is:\r\nEmber 1.10.0\r\nember-cli 0.2.0\r\nnode v0.12.0\r\nnpm 2.5.1\r\nOS X 10.10.2"},"comment":{"url":"https://api.github.com/repos/simplabs/ember-cli-simple-auth-torii/issues/comments/78901781","html_url":"https://github.com/simplabs/ember-cli-simple-auth-torii/issues/7#issuecomment-78901781","issue_url":"https://api.github.com/repos/simplabs/ember-cli-simple-auth-torii/issues/7","id":78901781,"user":{"login":"timini","id":247302,"avatar_url":"https://avatars.githubusercontent.com/u/247302?v=3","gravatar_id":"","url":"https://api.github.com/users/timini","html_url":"https://github.com/timini","followers_url":"https://api.github.com/users/timini/followers","following_url":"https://api.github.com/users/timini/following{/other_user}","gists_url":"https://api.github.com/users/timini/gists{/gist_id}","starred_url":"https://api.github.com/users/timini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timini/subscriptions","organizations_url":"https://api.github.com/users/timini/orgs","repos_url":"https://api.github.com/users/timini/repos","events_url":"https://api.github.com/users/timini/events{/privacy}","received_events_url":"https://api.github.com/users/timini/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T10:17:21Z","updated_at":"2015-03-13T10:17:21Z","body":"**Once ember-cli/ember-cli#3483 lands, you will still have to track down which addon is causing the warning to be printed...**\r\n\r\nDoes this mean any ember addon causing `Cannot call method 'writeLine' of undefined` needs to be fixed?\r\n\r\nthis is an example from ember-simple-auth-torri, which I'm trying to get working\r\n```\r\nCannot call method 'writeLine' of undefined\r\nTypeError: Cannot call method 'writeLine' of undefined\r\n    at AddonDiscovery.<anonymous> (/Users/tim/Workspace/repositive/api.repositive.io/frontend/node_modules/ember-cli/lib/models/addon-discovery.js:109:22)\r\n    at Array.map (native)\r\n    at AddonDiscovery.discoverFromDependencies (/Users/tim/Workspace/repositive/api.repositive.io/frontend/node_modules/ember-cli/lib/models/addon-discovery.js:94:68)\r\n    at AddonDiscovery.discoverChildAddons (/Users/tim/Workspace/repositive/api.repositive.io/frontend/node_modules/ember-cli/lib/models/addon-discovery.js:61:31)\r\n    at Class.Addon.discoverAddons (/Users/tim/Workspace/repositive/api.repositive.io/frontend/node_modules/ember-cli/lib/models/addon.js:172:40)\r\n    at Class.Addon.initializeAddons (/Users/tim/Workspace/repositive/api.repositive.io/frontend/node_modules/ember-cli/lib/models/addon.js:188:8)\r\n    at setupRegistryForEachAddon (/Users/tim/Workspace/repositive/api.repositive.io/frontend/node_modules/ember-cli/lib/preprocessors.js:18:10)\r\n    at Object.module.exports.setupRegistry (/Users/tim/Workspace/repositive/api.repositive.io/frontend/node_modules/ember-cli/lib/preprocessors.js:46:3)\r\n    at Class.Addon (/Users/tim/Workspace/repositive/api.repositive.io/frontend/node_modules/ember-cli/lib/models/addon.js:83:5)\r\n    at new Class (/Users/tim/Workspace/repositive/api.repositive.io/frontend/node_modules/ember-cli/node_modules/core-object/core-object.js:16:17)\r\n```\r\n"}}