{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/845","labels_url":"https://api.github.com/repos/webpack/webpack/issues/845/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/845/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/845/events","html_url":"https://github.com/webpack/webpack/issues/845","id":59604475,"number":845,"title":"Uncaught TypeError: Cannot read property 'call' of undefined","user":{"login":"narak","id":803063,"avatar_url":"https://avatars.githubusercontent.com/u/803063?v=3","gravatar_id":"","url":"https://api.github.com/users/narak","html_url":"https://github.com/narak","followers_url":"https://api.github.com/users/narak/followers","following_url":"https://api.github.com/users/narak/following{/other_user}","gists_url":"https://api.github.com/users/narak/gists{/gist_id}","starred_url":"https://api.github.com/users/narak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narak/subscriptions","organizations_url":"https://api.github.com/users/narak/orgs","repos_url":"https://api.github.com/users/narak/repos","events_url":"https://api.github.com/users/narak/events{/privacy}","received_events_url":"https://api.github.com/users/narak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webpack/webpack/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-03T07:18:12Z","updated_at":"2015-12-25T10:07:46Z","closed_at":null,"body":"I get the following error after an npm install (@1.5.3) (in the browser code i.e., the build goes through fine)\r\n```\r\nUncaught TypeError: Cannot read property 'call' of undefined\r\n2.2.js.map:1 GET http://.../static/build/2.2.js.map 404 (Not Found)\r\n```\r\n\r\nThe error line is\r\n```\r\n/******/ \t\t// Execute the module function\r\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\r\n```\r\nModule ID 172.\r\n\r\nThe state reveals the following... what am I missing?\r\n\r\n```\r\n\"id\": 172,\r\n\"identifier\": \"/pathtorepo/js/components/pages /^\\\\.\\\\/.*$/\",\r\n\"name\": \"./js/components/pages ^\\\\.\\\\/.*$\",\r\n\"size\": 3656,\r\n\"cacheable\": true,\r\n\"built\": true,\r\n```\r\n\r\nMy async loads look like this:\r\n```\r\n               require(['../components/pages/' + pathtocomp], function(Comp) {\r\n                     // stuff\r\n                });\r\n```"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/167218455","html_url":"https://github.com/webpack/webpack/issues/845#issuecomment-167218455","issue_url":"https://api.github.com/repos/webpack/webpack/issues/845","id":167218455,"user":{"login":"limpbrains","id":155891,"avatar_url":"https://avatars.githubusercontent.com/u/155891?v=3","gravatar_id":"","url":"https://api.github.com/users/limpbrains","html_url":"https://github.com/limpbrains","followers_url":"https://api.github.com/users/limpbrains/followers","following_url":"https://api.github.com/users/limpbrains/following{/other_user}","gists_url":"https://api.github.com/users/limpbrains/gists{/gist_id}","starred_url":"https://api.github.com/users/limpbrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limpbrains/subscriptions","organizations_url":"https://api.github.com/users/limpbrains/orgs","repos_url":"https://api.github.com/users/limpbrains/repos","events_url":"https://api.github.com/users/limpbrains/events{/privacy}","received_events_url":"https://api.github.com/users/limpbrains/received_events","type":"User","site_admin":false},"created_at":"2015-12-25T10:07:46Z","updated_at":"2015-12-25T10:07:46Z","body":"I have same issue with dynamic require. It started to appear when I've migrated to Babel 6. "}}