{"action":"created","issue":{"url":"https://api.github.com/repos/tomchentw/react-google-maps/issues/155","labels_url":"https://api.github.com/repos/tomchentw/react-google-maps/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/tomchentw/react-google-maps/issues/155/comments","events_url":"https://api.github.com/repos/tomchentw/react-google-maps/issues/155/events","html_url":"https://github.com/tomchentw/react-google-maps/issues/155","id":118218930,"number":155,"title":"Unexpected token when running webpack","user":{"login":"choiway","id":546436,"avatar_url":"https://avatars.githubusercontent.com/u/546436?v=3","gravatar_id":"","url":"https://api.github.com/users/choiway","html_url":"https://github.com/choiway","followers_url":"https://api.github.com/users/choiway/followers","following_url":"https://api.github.com/users/choiway/following{/other_user}","gists_url":"https://api.github.com/users/choiway/gists{/gist_id}","starred_url":"https://api.github.com/users/choiway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choiway/subscriptions","organizations_url":"https://api.github.com/users/choiway/orgs","repos_url":"https://api.github.com/users/choiway/repos","events_url":"https://api.github.com/users/choiway/events{/privacy}","received_events_url":"https://api.github.com/users/choiway/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-21T20:25:57Z","updated_at":"2015-11-22T01:58:48Z","closed_at":null,"body":"I'm running the code in the geolocation example in my own app without loading all packages. When I run webpack I get this error and I can't figure out which package I'm missing. Any help would be appreciated. Thanks!\r\n\r\n```javascript\r\nModule build failed: SyntaxError: /app/components/Geolocation.js: Unexpected token (26:6)\r\n  24 | export default class Geolocation extends Component {\r\n  25 | \r\n> 26 |   var state = {\r\n     |       ^\r\n  27 |     center: null,\r\n  28 |     content: null,\r\n  29 |     radius: 6000,\r\n```"},"comment":{"url":"https://api.github.com/repos/tomchentw/react-google-maps/issues/comments/158700548","html_url":"https://github.com/tomchentw/react-google-maps/issues/155#issuecomment-158700548","issue_url":"https://api.github.com/repos/tomchentw/react-google-maps/issues/155","id":158700548,"user":{"login":"tomchentw","id":922234,"avatar_url":"https://avatars.githubusercontent.com/u/922234?v=3","gravatar_id":"","url":"https://api.github.com/users/tomchentw","html_url":"https://github.com/tomchentw","followers_url":"https://api.github.com/users/tomchentw/followers","following_url":"https://api.github.com/users/tomchentw/following{/other_user}","gists_url":"https://api.github.com/users/tomchentw/gists{/gist_id}","starred_url":"https://api.github.com/users/tomchentw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomchentw/subscriptions","organizations_url":"https://api.github.com/users/tomchentw/orgs","repos_url":"https://api.github.com/users/tomchentw/repos","events_url":"https://api.github.com/users/tomchentw/events{/privacy}","received_events_url":"https://api.github.com/users/tomchentw/received_events","type":"User","site_admin":false},"created_at":"2015-11-22T01:58:48Z","updated_at":"2015-11-22T01:58:48Z","body":"`var state = {` is not a valid property initializer. Just use `state = {` and make sure you've configured babel correctly"}}