{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/4592","repository_url":"https://api.github.com/repos/babel/babel","labels_url":"https://api.github.com/repos/babel/babel/issues/4592/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/4592/comments","events_url":"https://api.github.com/repos/babel/babel/issues/4592/events","html_url":"https://github.com/babel/babel/issues/4592","id":179907467,"number":4592,"title":"Error in babel-register 6.16.0","user":{"login":"theverything","id":1922957,"avatar_url":"https://avatars.githubusercontent.com/u/1922957?v=3","gravatar_id":"","url":"https://api.github.com/users/theverything","html_url":"https://github.com/theverything","followers_url":"https://api.github.com/users/theverything/followers","following_url":"https://api.github.com/users/theverything/following{/other_user}","gists_url":"https://api.github.com/users/theverything/gists{/gist_id}","starred_url":"https://api.github.com/users/theverything/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theverything/subscriptions","organizations_url":"https://api.github.com/users/theverything/orgs","repos_url":"https://api.github.com/users/theverything/repos","events_url":"https://api.github.com/users/theverything/events{/privacy}","received_events_url":"https://api.github.com/users/theverything/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/babel/babel/labels/bug","name":"bug","color":"f9d0c4"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-28T22:27:43Z","updated_at":"2016-09-28T22:32:27Z","closed_at":null,"body":"After updating to babel register 6.16.0 I started getting the following error.\r\n\r\n```\r\n/myproject/node_modules/babel-core/lib/transformation/file/options/option-manager.js:319\r\n        throw e;\r\n        ^\r\nSyntaxError:  (While processing preset: \"/myproject/node_modules/babel-preset-es2015/lib/index.js\")\r\n```\r\n\r\n.babelrc\r\n```\r\n{\r\n  \"presets\": [\r\n    [\"es2015\", { \"modules\": false }],\r\n    \"stage-1\",\r\n    \"react\"\r\n  ],\r\n  \"plugins\": [\r\n    \"transform-runtime\"\r\n  ],\r\n  \"env\": {\r\n    \"development\": {\r\n      \"plugins\": [\"react-hot-loader/babel\", \"transform-runtime\"]\r\n    },\r\n    \"test\": {\r\n      \"presets\": [\"es2015\", \"stage-1\", \"react\"],\r\n    }\r\n  },\r\n  \"compact\": true\r\n}\r\n```\r\n\r\npackage.json\r\n```js\r\n{\r\n  \"dependencies\": {\r\n    ...\r\n    \"babel-core\": \"^6.3.26\",\r\n    \"babel-loader\": \"^6.2.0\",\r\n    \"babel-plugin-transform-runtime\": \"^6.12.0\",\r\n    \"babel-polyfill\": \"^6.9.0\",\r\n    \"babel-preset-es2015\": \"^6.13.0\",\r\n    \"babel-preset-react\": \"^6.11.0\",\r\n    \"babel-preset-stage-1\": \"^6.13.0\",\r\n    \"babel-register\": \"^6.8.0\",\r\n    \"babel-runtime\": \"^6.11.6\",\r\n    ...\r\n  }\r\n}\r\n```\r\n\r\nAfter resetting `babel-register` to 6.14.0 the error went away.\r\n\r\nI'm thinking it might have something to do with this commit https://github.com/babel/babel/commit/71dff8c834191356bfc58d24f37e3601df96987e\r\n\r\n| software         | version\r\n| ---------------- | -------\r\n| Babel            | 6.16.0\r\n| node             | 6.6.0\r\n| npm              | 3.10.3\r\n| Operating System | OS X 10.11.6 (15G1004)\r\n"},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/250321000","html_url":"https://github.com/babel/babel/issues/4592#issuecomment-250321000","issue_url":"https://api.github.com/repos/babel/babel/issues/4592","id":250321000,"user":{"login":"hzoo","id":588473,"avatar_url":"https://avatars.githubusercontent.com/u/588473?v=3","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T22:32:27Z","updated_at":"2016-09-28T22:32:27Z","body":"Thanks, you'll just have to pin it for the moment."}}
{"actor":{"display_login":"hzoo"}}