{"action":"created","issue":{"url":"https://api.github.com/repos/kellyselden/broccoli-jscs/issues/19","labels_url":"https://api.github.com/repos/kellyselden/broccoli-jscs/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/kellyselden/broccoli-jscs/issues/19/comments","events_url":"https://api.github.com/repos/kellyselden/broccoli-jscs/issues/19/events","html_url":"https://github.com/kellyselden/broccoli-jscs/issues/19","id":62811955,"number":19,"title":"\"Invalid tree found\"-error in ember-cli 0.2.0 project","user":{"login":"dennismende","id":2135085,"avatar_url":"https://avatars.githubusercontent.com/u/2135085?v=3","gravatar_id":"","url":"https://api.github.com/users/dennismende","html_url":"https://github.com/dennismende","followers_url":"https://api.github.com/users/dennismende/followers","following_url":"https://api.github.com/users/dennismende/following{/other_user}","gists_url":"https://api.github.com/users/dennismende/gists{/gist_id}","starred_url":"https://api.github.com/users/dennismende/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennismende/subscriptions","organizations_url":"https://api.github.com/users/dennismende/orgs","repos_url":"https://api.github.com/users/dennismende/repos","events_url":"https://api.github.com/users/dennismende/events{/privacy}","received_events_url":"https://api.github.com/users/dennismende/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-18T21:52:21Z","updated_at":"2015-03-18T23:23:04Z","closed_at":"2015-03-18T23:23:04Z","body":"I added broccoli-jscs to an ember-cli 0.2.0 project and got the following error:\r\n\r\n    Invalid tree found. You must supply a path or an object with a `read` function: undefined\r\n    Error: Invalid tree found. You must supply a path or an object with a `read` function: undefined\r\n        at readAndReturnNodeFor (/Users/dennis/Sites/flec-frontend/node_modules/ember-cli/node_modules/broccoli/lib/builder.js:72:13)\r\n    at /Users/dennis/Sites/flec-frontend/node_modules/ember-cli/node_modules/broccoli/lib/builder.js:93:24\r\n    at lib$rsvp$$internal$$tryCatch (/Users/dennis/Sites/flec-frontend/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:489:16)\r\n    at lib$rsvp$$internal$$invokeCallback (/Users/dennis/Sites/flec-frontend/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:501:17)\r\n    at /Users/dennis/Sites/flec-frontend/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1095:13\r\n    at lib$rsvp$asap$$flush (/Users/dennis/Sites/flec-frontend/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1290:9)\r\n    at process._tickCallback (node.js:355:11)"},"comment":{"url":"https://api.github.com/repos/kellyselden/broccoli-jscs/issues/comments/83221995","html_url":"https://github.com/kellyselden/broccoli-jscs/issues/19#issuecomment-83221995","issue_url":"https://api.github.com/repos/kellyselden/broccoli-jscs/issues/19","id":83221995,"user":{"login":"kellyselden","id":602423,"avatar_url":"https://avatars.githubusercontent.com/u/602423?v=3","gravatar_id":"","url":"https://api.github.com/users/kellyselden","html_url":"https://github.com/kellyselden","followers_url":"https://api.github.com/users/kellyselden/followers","following_url":"https://api.github.com/users/kellyselden/following{/other_user}","gists_url":"https://api.github.com/users/kellyselden/gists{/gist_id}","starred_url":"https://api.github.com/users/kellyselden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kellyselden/subscriptions","organizations_url":"https://api.github.com/users/kellyselden/orgs","repos_url":"https://api.github.com/users/kellyselden/repos","events_url":"https://api.github.com/users/kellyselden/events{/privacy}","received_events_url":"https://api.github.com/users/kellyselden/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T23:23:04Z","updated_at":"2015-03-18T23:23:04Z","body":"The addon needs a `.jscsrc` file. Run:\r\n```\r\necho {\"esnext\": true}>.jscsrc\r\n```\r\nin your app folder. I will open an issue to make this process clearer/cleaner."}}