{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/1802","labels_url":"https://api.github.com/repos/babel/babel/issues/1802/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/1802/comments","events_url":"https://api.github.com/repos/babel/babel/issues/1802/events","html_url":"https://github.com/babel/babel/issues/1802","id":90246591,"number":1802,"title":"No longer able to \"import\" from project","user":{"login":"benderTheCrime","id":7144031,"avatar_url":"https://avatars.githubusercontent.com/u/7144031?v=3","gravatar_id":"","url":"https://api.github.com/users/benderTheCrime","html_url":"https://github.com/benderTheCrime","followers_url":"https://api.github.com/users/benderTheCrime/followers","following_url":"https://api.github.com/users/benderTheCrime/following{/other_user}","gists_url":"https://api.github.com/users/benderTheCrime/gists{/gist_id}","starred_url":"https://api.github.com/users/benderTheCrime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benderTheCrime/subscriptions","organizations_url":"https://api.github.com/users/benderTheCrime/orgs","repos_url":"https://api.github.com/users/benderTheCrime/repos","events_url":"https://api.github.com/users/benderTheCrime/events{/privacy}","received_events_url":"https://api.github.com/users/benderTheCrime/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-22T23:53:30Z","updated_at":"2015-06-22T23:54:36Z","closed_at":null,"body":"Greetings,\r\n\r\nI used to be able to import using the documented syntax\r\n\r\n```javascript\r\nimport Sandwich from './Sandwich';\r\n```\r\n\r\nwhere `Sandwich` is a class in a file in the same directory:\r\n\r\n```javascript\r\nexport default Sandwich {}\r\n```\r\n\r\nbut this is no longer working. Is this intended? It seems unlikely that this would diverge from the spec at this point. I am using version `5.6.4`. Here is the actual traceback:\r\n\r\n```javascript\r\nevents.js:141\r\n      throw er; // Unhandled 'error' event\r\n            ^\r\nTypeError: undefined is not a function\r\n    at Object.<anonymous> (**/src/Base.js:16:11)\r\n    at Module._compile (module.js:410:26)\r\n    at normalLoader (**/node_modules/babel/node_modules/babel-core/lib/babel/api/register/node.js:160:5)\r\n    at Object.require.extensions.(anonymous function) [as .js] (**/node_modules/babel/node_modules/babel-core/lib/babel/api/register/node.js:173:7)\r\n    at Module.load (module.js:335:32)\r\n    at Function.Module._load (module.js:290:12)\r\n    at Module.require (module.js:345:17)\r\n    at require (module.js:364:17)\r\n    at Object.<anonymous> (**/src/Server.js:10:32)\r\n    at Module._compile (module.js:410:26)\r\n```\r\nwhere what is undefined is `Sandwich`"},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/114306815","html_url":"https://github.com/babel/babel/issues/1802#issuecomment-114306815","issue_url":"https://api.github.com/repos/babel/babel/issues/1802","id":114306815,"user":{"login":"sebmck","id":853712,"avatar_url":"https://avatars.githubusercontent.com/u/853712?v=3","gravatar_id":"","url":"https://api.github.com/users/sebmck","html_url":"https://github.com/sebmck","followers_url":"https://api.github.com/users/sebmck/followers","following_url":"https://api.github.com/users/sebmck/following{/other_user}","gists_url":"https://api.github.com/users/sebmck/gists{/gist_id}","starred_url":"https://api.github.com/users/sebmck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebmck/subscriptions","organizations_url":"https://api.github.com/users/sebmck/orgs","repos_url":"https://api.github.com/users/sebmck/repos","events_url":"https://api.github.com/users/sebmck/events{/privacy}","received_events_url":"https://api.github.com/users/sebmck/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T23:54:36Z","updated_at":"2015-06-22T23:54:36Z","body":"```javascript\r\nexport default Sandwich {}\r\n```\r\n\r\nthrows a syntax error. Going to need exact steps to reproduce, commands to run, exact files to use etc."}}