{"action":"created","issue":{"url":"https://api.github.com/repos/amireh/happypack/issues/7","labels_url":"https://api.github.com/repos/amireh/happypack/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/amireh/happypack/issues/7/comments","events_url":"https://api.github.com/repos/amireh/happypack/issues/7/events","html_url":"https://github.com/amireh/happypack/issues/7","id":124428413,"number":7,"title":"TypeError: r.forEach is not a function","user":{"login":"moroshko","id":259753,"avatar_url":"https://avatars.githubusercontent.com/u/259753?v=3","gravatar_id":"","url":"https://api.github.com/users/moroshko","html_url":"https://github.com/moroshko","followers_url":"https://api.github.com/users/moroshko/followers","following_url":"https://api.github.com/users/moroshko/following{/other_user}","gists_url":"https://api.github.com/users/moroshko/gists{/gist_id}","starred_url":"https://api.github.com/users/moroshko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moroshko/subscriptions","organizations_url":"https://api.github.com/users/moroshko/orgs","repos_url":"https://api.github.com/users/moroshko/repos","events_url":"https://api.github.com/users/moroshko/events{/privacy}","received_events_url":"https://api.github.com/users/moroshko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-31T03:46:27Z","updated_at":"2016-01-02T13:27:01Z","closed_at":"2015-12-31T10:56:43Z","body":"I get the following error:\r\n\r\n![Error](http://dl.dropbox.com/u/1893981/Screenshots/g0id.png)\r\n\r\nHere is my webpack config:\r\n\r\n    module: {\r\n      loaders: [\r\n        {\r\n          test: /\\.js$/,\r\n          loaders: 'happypack/loader',\r\n          include: [\r\n            path.join(__dirname, 'src'),\r\n            path.join(__dirname, 'demo', 'src')\r\n          ]\r\n        }, ...\r\n      ]\r\n    },\r\n    plugins: {\r\n      new HappyPack({\r\n        loaders: [\r\n          {\r\n            path: path.join(__dirname, 'demo', 'src')\r\n          }\r\n        ]\r\n      })\r\n    }\r\n\r\nWhat am I doing wrong?\r\n\r\nAlso, I'm a bit confused with which paths should be in `module.loaders.include` vs `plugins.happypack.loaders`. Could you elaborate on the difference please?\r\n"},"comment":{"url":"https://api.github.com/repos/amireh/happypack/issues/comments/168390965","html_url":"https://github.com/amireh/happypack/issues/7#issuecomment-168390965","issue_url":"https://api.github.com/repos/amireh/happypack/issues/7","id":168390965,"user":{"login":"moroshko","id":259753,"avatar_url":"https://avatars.githubusercontent.com/u/259753?v=3","gravatar_id":"","url":"https://api.github.com/users/moroshko","html_url":"https://github.com/moroshko","followers_url":"https://api.github.com/users/moroshko/followers","following_url":"https://api.github.com/users/moroshko/following{/other_user}","gists_url":"https://api.github.com/users/moroshko/gists{/gist_id}","starred_url":"https://api.github.com/users/moroshko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moroshko/subscriptions","organizations_url":"https://api.github.com/users/moroshko/orgs","repos_url":"https://api.github.com/users/moroshko/repos","events_url":"https://api.github.com/users/moroshko/events{/privacy}","received_events_url":"https://api.github.com/users/moroshko/received_events","type":"User","site_admin":false},"created_at":"2016-01-02T13:27:01Z","updated_at":"2016-01-02T13:27:01Z","body":"300% sounds crazy! I wonder if I'm doing something wrong.\r\nDo you mind having a look at my repo:\r\n\r\n1. git clone git@github.com:moroshko/react-autosuggest.git\r\n2. cd react-autosuggest\r\n3. git checkout redesign\r\n4. npm install\r\n5. npm start"}}