{"action":"opened","issue":{"url":"https://api.github.com/repos/PRDeving/PocketDataBase2.0/issues/1","repository_url":"https://api.github.com/repos/PRDeving/PocketDataBase2.0","labels_url":"https://api.github.com/repos/PRDeving/PocketDataBase2.0/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/PRDeving/PocketDataBase2.0/issues/1/comments","events_url":"https://api.github.com/repos/PRDeving/PocketDataBase2.0/issues/1/events","html_url":"https://github.com/PRDeving/PocketDataBase2.0/issues/1","id":153749214,"number":1,"title":"[0001] Import doesnt work in node enviroments","user":{"login":"PRDeving","id":11825031,"avatar_url":"https://avatars.githubusercontent.com/u/11825031?v=3","gravatar_id":"","url":"https://api.github.com/users/PRDeving","html_url":"https://github.com/PRDeving","followers_url":"https://api.github.com/users/PRDeving/followers","following_url":"https://api.github.com/users/PRDeving/following{/other_user}","gists_url":"https://api.github.com/users/PRDeving/gists{/gist_id}","starred_url":"https://api.github.com/users/PRDeving/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRDeving/subscriptions","organizations_url":"https://api.github.com/users/PRDeving/orgs","repos_url":"https://api.github.com/users/PRDeving/repos","events_url":"https://api.github.com/users/PRDeving/events{/privacy}","received_events_url":"https://api.github.com/users/PRDeving/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-09T10:42:56Z","updated_at":"2016-05-09T10:42:56Z","closed_at":null,"body":"fs doesn't returns the file content, probably should wait for callback.\r\n\r\nProbably an async issue.\r\n\r\nTypeError: Cannot read property 'length' of undefined\r\n    at _import [as Import] (/Users/pablodeving/Sites/PocketDataBase2.0/src/pdb.js:284:17)\r\n    at repl:1:5\r\n    at REPLServer.defaultEval (repl.js:269:27)\r\n    at bound (domain.js:287:14)\r\n    at REPLServer.runBound [as eval] (domain.js:300:12)\r\n    at REPLServer.<anonymous> (repl.js:439:12)\r\n    at emitOne (events.js:95:20)\r\n    at REPLServer.emit (events.js:182:7)\r\n    at REPLServer.Interface._onLine (readline.js:211:10)\r\n    at REPLServer.Interface._line (readline.js:550:8)"}}