{"action":"opened","issue":{"url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/228","repository_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin","labels_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/228/comments","events_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/228/events","html_url":"https://github.com/ampedandwired/html-webpack-plugin/issues/228","id":134475465,"number":228,"title":" _registerComponent(...): Target container is not a DOM element","user":{"login":"zhangmengxue","id":6252911,"avatar_url":"https://avatars.githubusercontent.com/u/6252911?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangmengxue","html_url":"https://github.com/zhangmengxue","followers_url":"https://api.github.com/users/zhangmengxue/followers","following_url":"https://api.github.com/users/zhangmengxue/following{/other_user}","gists_url":"https://api.github.com/users/zhangmengxue/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangmengxue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangmengxue/subscriptions","organizations_url":"https://api.github.com/users/zhangmengxue/orgs","repos_url":"https://api.github.com/users/zhangmengxue/repos","events_url":"https://api.github.com/users/zhangmengxue/events{/privacy}","received_events_url":"https://api.github.com/users/zhangmengxue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-18T03:57:48Z","updated_at":"2016-02-18T03:57:48Z","closed_at":null,"body":"I've got this error.\r\nThe plugin generates a index.html file like this:\r\n```javascript\r\n<!DOCTYPE html>\r\n<html>\r\n  <head>\r\n    <meta charset=\"UTF-8\">\r\n    <title>React Demo</title>\r\n  </head>\r\n  <body>\r\n  <script src=\"bundle.js\"></script></body>\r\n</html>\r\n```\r\n\r\nbut I have my own index.html file like this:\r\n\r\n```\r\n<!doctype html>\r\n<html lang=\"en\">\r\n  <head>\r\n    <meta charset=\"utf-8\">\r\n    <title>New React App</title>\r\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"node_modules/bootstrap/dist/css/bootstrap.css\">\r\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/main.css\">\r\n  </head>\r\n  <body>\r\n    <div id=\"content\"></div>\r\n    <script src=\"bundle.js\"></script>\r\n  </body>\r\n</html>\r\n``` \r\n\r\nwhen i do this : \r\n```\r\nrender(<Router routes={routes}/>, document.getElementById('body'));\r\n```\r\n\r\nI got the error.\r\nPlease help me figure out why? Thank you very much!"}}