{"action":"created","issue":{"url":"https://api.github.com/repos/reapp/reapp/issues/65","labels_url":"https://api.github.com/repos/reapp/reapp/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/reapp/reapp/issues/65/comments","events_url":"https://api.github.com/repos/reapp/reapp/issues/65/events","html_url":"https://github.com/reapp/reapp/issues/65","id":75838039,"number":65,"title":"Unexpected token < You may need an appropriate loader to handle this file type.","user":{"login":"jasonshark","id":3578908,"avatar_url":"https://avatars.githubusercontent.com/u/3578908?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonshark","html_url":"https://github.com/jasonshark","followers_url":"https://api.github.com/users/jasonshark/followers","following_url":"https://api.github.com/users/jasonshark/following{/other_user}","gists_url":"https://api.github.com/users/jasonshark/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonshark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonshark/subscriptions","organizations_url":"https://api.github.com/users/jasonshark/orgs","repos_url":"https://api.github.com/users/jasonshark/repos","events_url":"https://api.github.com/users/jasonshark/events{/privacy}","received_events_url":"https://api.github.com/users/jasonshark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-13T04:14:28Z","updated_at":"2015-05-13T16:16:30Z","closed_at":null,"body":"I am getting an error from the following code:\r\n\r\n```\r\nimport { Reapp, React, View } from 'reapp-kit';\r\n\r\nvar MapView = React.createClass({\r\n  render: function(){\r\n    return (\r\n      <div id=\"map\"><span>Map Would be Here !!</span></div>\r\n    );\r\n  }\r\n});\r\n\r\nvar Home = React.createClass({\r\n  render: function(){\r\n    return (\r\n        <View title='Where Am I'>\r\n        \r\n          <MapView />\r\n          <MapView />\r\n        </View>\r\n    );\r\n  }\r\n});\r\n\r\nexport default Reapp(Home);\r\n```\r\n\r\nThe error I'm getting is: \r\n\r\n```\r\nWARNING in ./app/app.js\r\nCritical dependencies:\r\n7:22-29 require function is used in a way, in which dependencies cannot be statically extracted\r\n @ ./app/app.js 7:22-29\r\n\r\nWARNING in ./app/components/Home.jsx\r\nModule parse failed: /usr/local/lib/node_modules/reapp/node_modules/reapp-pack/node_modules/react-hot-loader/index.js!/usr/local/lib/node_modules/reapp/node_modules/reapp-pack/node_modules/babel-loader/index.js?{\"stage\": 0, \"optional\": [\"optimisation.react.constantElements\", \"bluebirdCoroutines\"]}!/Users/connorleech/Projects/reapp_maps/app/components/Home.jsx Line 14: Unexpected token <\r\nYou may need an appropriate loader to handle this file type.\r\n|   'div',\r\n|   { id: 'map' },\r\n|   <span>Map Would be Here !!</span>\r\n| );\r\n| \r\n @ ./app ^\\.\\/.*$\r\nwebpack: bundle is now VALID.\r\n```"},"comment":{"url":"https://api.github.com/repos/reapp/reapp/issues/comments/101732063","html_url":"https://github.com/reapp/reapp/issues/65#issuecomment-101732063","issue_url":"https://api.github.com/repos/reapp/reapp/issues/65","id":101732063,"user":{"login":"boazy","id":1224667,"avatar_url":"https://avatars.githubusercontent.com/u/1224667?v=3","gravatar_id":"","url":"https://api.github.com/users/boazy","html_url":"https://github.com/boazy","followers_url":"https://api.github.com/users/boazy/followers","following_url":"https://api.github.com/users/boazy/following{/other_user}","gists_url":"https://api.github.com/users/boazy/gists{/gist_id}","starred_url":"https://api.github.com/users/boazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boazy/subscriptions","organizations_url":"https://api.github.com/users/boazy/orgs","repos_url":"https://api.github.com/users/boazy/repos","events_url":"https://api.github.com/users/boazy/events{/privacy}","received_events_url":"https://api.github.com/users/boazy/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T16:16:30Z","updated_at":"2015-05-13T16:16:30Z","body":"Thanks!"}}