{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/1082","labels_url":"https://api.github.com/repos/webpack/webpack/issues/1082/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/1082/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/1082/events","html_url":"https://github.com/webpack/webpack/issues/1082","id":78164995,"number":1082,"title":"DedupePlugin fails: No template for dependency: TemplateArgumentDependency","user":{"login":"alansouzati","id":1207250,"avatar_url":"https://avatars.githubusercontent.com/u/1207250?v=3","gravatar_id":"","url":"https://api.github.com/users/alansouzati","html_url":"https://github.com/alansouzati","followers_url":"https://api.github.com/users/alansouzati/followers","following_url":"https://api.github.com/users/alansouzati/following{/other_user}","gists_url":"https://api.github.com/users/alansouzati/gists{/gist_id}","starred_url":"https://api.github.com/users/alansouzati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alansouzati/subscriptions","organizations_url":"https://api.github.com/users/alansouzati/orgs","repos_url":"https://api.github.com/users/alansouzati/repos","events_url":"https://api.github.com/users/alansouzati/events{/privacy}","received_events_url":"https://api.github.com/users/alansouzati/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webpack/webpack/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-19T16:45:59Z","updated_at":"2015-09-16T02:42:14Z","closed_at":null,"body":"Hi folks,\r\n\r\n  Great job with Webpack, this framework is really helping my project to succeed. I'm using version `1.8.11` through `gulp-webpack` and after I've added `react-intl` in my project this problem started to happen:\r\n\r\n```\r\nError: No template for dependency: TemplateArgumentDependency\r\n    at doDep (/Users/alansouza/project-workspace/project/node_modules/gulp-webpack/node_modules/webpack/lib/NormalModule.js:116:23)\r\n    at Array.forEach (native)\r\n    at doBlock (/Users/alansouza/project-workspace/project/node_modules/gulp-webpack/node_modules/webpack/lib/NormalModule.js:125:22)\r\n    at DependenciesBlock.NormalModule.source (/Users/alansouza/project-workspace/project/node_modules/gulp-webpack/node_modules/webpack/lib/NormalModule.js:159:2)\r\n    at Tapable.ModuleTemplate.render (/Users/alansouza/project-workspace/project/node_modules/gulp-webpack/node_modules/webpack/lib/ModuleTemplate.js:14:28)\r\n    at Tapable.Template.renderChunkModules (/Users/alansouza/project-workspace/project/node_modules/gulp-webpack/node_modules/webpack/lib/Template.js:80:31)\r\n    at Tapable.<anonymous> (/Users/alansouza/project-workspace/project/node_modules/gulp-webpack/node_modules/webpack/lib/MainTemplate.js:28:22)\r\n    at Tapable.applyPlugins [as applyPluginsWaterfall] (/Users/alansouza/project-workspace/project/node_modules/gulp-webpack/node_modules/webpack/node_modules/tapable/lib/Tapable.js:37:47)\r\n    at Tapable.MainTemplate.render (/Users/alansouza/project-workspace/project/node_modules/gulp-webpack/node_modules/webpack/lib/MainTemplate.js:111:20)\r\n    at Tapable.createChunkAssets (/Users/alansouza/project-workspace/project/node_modules/gulp-webpack/node_modules/webpack/lib/Compilation.js:784:32)\r\n```\r\n\r\nAfter some investigation and checking out some suggestions in the webpack Gitter chat, I decided to remove the Dedupe Plugin and then everything works again, but my bundle size has increased significantly. \r\n\r\nAny ideas on how to make the DedupePlugin work again? If I get any pointers I could try to solve the issue myself. Any help here is much appreciated. \r\n\r\nAlan"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/140608447","html_url":"https://github.com/webpack/webpack/issues/1082#issuecomment-140608447","issue_url":"https://api.github.com/repos/webpack/webpack/issues/1082","id":140608447,"user":{"login":"miaojing","id":1321009,"avatar_url":"https://avatars.githubusercontent.com/u/1321009?v=3","gravatar_id":"","url":"https://api.github.com/users/miaojing","html_url":"https://github.com/miaojing","followers_url":"https://api.github.com/users/miaojing/followers","following_url":"https://api.github.com/users/miaojing/following{/other_user}","gists_url":"https://api.github.com/users/miaojing/gists{/gist_id}","starred_url":"https://api.github.com/users/miaojing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miaojing/subscriptions","organizations_url":"https://api.github.com/users/miaojing/orgs","repos_url":"https://api.github.com/users/miaojing/repos","events_url":"https://api.github.com/users/miaojing/events{/privacy}","received_events_url":"https://api.github.com/users/miaojing/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T02:42:14Z","updated_at":"2015-09-16T02:42:14Z","body":"I'm getting the same issue, I use it in webpack-dev-middleware."}}