{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/5188","labels_url":"https://api.github.com/repos/facebook/react-native/issues/5188/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/5188/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/5188/events","html_url":"https://github.com/facebook/react-native/issues/5188","id":125452980,"number":5188,"title":"[0.18.0-rc] class properties now needs a semicolon but packager throws a cryptic error","user":{"login":"gre","id":211411,"avatar_url":"https://avatars.githubusercontent.com/u/211411?v=3","gravatar_id":"","url":"https://api.github.com/users/gre","html_url":"https://github.com/gre","followers_url":"https://api.github.com/users/gre/followers","following_url":"https://api.github.com/users/gre/following{/other_user}","gists_url":"https://api.github.com/users/gre/gists{/gist_id}","starred_url":"https://api.github.com/users/gre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gre/subscriptions","organizations_url":"https://api.github.com/users/gre/orgs","repos_url":"https://api.github.com/users/gre/repos","events_url":"https://api.github.com/users/gre/events{/privacy}","received_events_url":"https://api.github.com/users/gre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-01-07T18:05:25Z","updated_at":"2016-01-07T20:03:19Z","closed_at":null,"body":"```js\r\nclass A { \r\n  foo = () => console.log(\"ooo\")\r\n}\r\n```\r\n\r\nthis used to work, but now in `0.18.0-rc`\r\n\r\n**TransformError: .../index.js: Cannot read property 'error' of null**\r\n\r\nDo we need to explicitely add some babel plugin now for this? or is it a bug?\r\n\r\n---\r\n\r\nanswer is **you must** use a semicolon now, so:\r\n\r\n```js\r\nclass A { \r\n  foo = () => console.log(\"ooo\");\r\n}\r\n```\r\n\r\n---\r\n\r\nBut the error is not straightforward, this shouldn't break like this in packager"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/169790535","html_url":"https://github.com/facebook/react-native/issues/5188#issuecomment-169790535","issue_url":"https://api.github.com/repos/facebook/react-native/issues/5188","id":169790535,"user":{"login":"gre","id":211411,"avatar_url":"https://avatars.githubusercontent.com/u/211411?v=3","gravatar_id":"","url":"https://api.github.com/users/gre","html_url":"https://github.com/gre","followers_url":"https://api.github.com/users/gre/followers","following_url":"https://api.github.com/users/gre/following{/other_user}","gists_url":"https://api.github.com/users/gre/gists{/gist_id}","starred_url":"https://api.github.com/users/gre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gre/subscriptions","organizations_url":"https://api.github.com/users/gre/orgs","repos_url":"https://api.github.com/users/gre/repos","events_url":"https://api.github.com/users/gre/events{/privacy}","received_events_url":"https://api.github.com/users/gre/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T20:03:19Z","updated_at":"2016-01-07T20:03:19Z","body":"@satya164 good question. I don't know that's the only error I had so far. if not, probably open a new generic issue as you said"}}