{"action":"created","issue":{"url":"https://api.github.com/repos/twilio/twilio-node/issues/99","labels_url":"https://api.github.com/repos/twilio/twilio-node/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/twilio/twilio-node/issues/99/comments","events_url":"https://api.github.com/repos/twilio/twilio-node/issues/99/events","html_url":"https://github.com/twilio/twilio-node/issues/99","id":82013469,"number":99,"title":"LookupClient undefined","user":{"login":"unChaz","id":976806,"avatar_url":"https://avatars.githubusercontent.com/u/976806?v=3","gravatar_id":"","url":"https://api.github.com/users/unChaz","html_url":"https://github.com/unChaz","followers_url":"https://api.github.com/users/unChaz/followers","following_url":"https://api.github.com/users/unChaz/following{/other_user}","gists_url":"https://api.github.com/users/unChaz/gists{/gist_id}","starred_url":"https://api.github.com/users/unChaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unChaz/subscriptions","organizations_url":"https://api.github.com/users/unChaz/orgs","repos_url":"https://api.github.com/users/unChaz/repos","events_url":"https://api.github.com/users/unChaz/events{/privacy}","received_events_url":"https://api.github.com/users/unChaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-28T16:26:05Z","updated_at":"2015-06-16T06:45:58Z","closed_at":null,"body":"Using version 2.2.1, requiring the LookupsClient as documented returns undefined.\r\n\r\n```javascript\r\nlookupsClient.phoneNumbers.get(...\r\n```\r\nI was getting the error: \r\n> TypeError: Cannot read property 'phoneNumbers' of undefined\r\n\r\nSo I added a log:\r\n```javascript\r\nvar lookupsClient = require('twilio').LookupsClient(accountSID, authToken);\r\nconsole.log('lookup client', lookupsClient);\r\n```\r\nYields:\r\n> lookup client undefined\r\n\r\nI should add that I haven't had any issues with the main Twilio module and sending SMS.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/twilio/twilio-node/issues/comments/112312003","html_url":"https://github.com/twilio/twilio-node/issues/99#issuecomment-112312003","issue_url":"https://api.github.com/repos/twilio/twilio-node/issues/99","id":112312003,"user":{"login":"justingosan","id":943867,"avatar_url":"https://avatars.githubusercontent.com/u/943867?v=3","gravatar_id":"","url":"https://api.github.com/users/justingosan","html_url":"https://github.com/justingosan","followers_url":"https://api.github.com/users/justingosan/followers","following_url":"https://api.github.com/users/justingosan/following{/other_user}","gists_url":"https://api.github.com/users/justingosan/gists{/gist_id}","starred_url":"https://api.github.com/users/justingosan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justingosan/subscriptions","organizations_url":"https://api.github.com/users/justingosan/orgs","repos_url":"https://api.github.com/users/justingosan/repos","events_url":"https://api.github.com/users/justingosan/events{/privacy}","received_events_url":"https://api.github.com/users/justingosan/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T06:45:58Z","updated_at":"2015-06-16T06:45:58Z","body":"The documentation (https://www.twilio.com/docs/api/rest/lookups) for this is completely misleading. I had to stumble into this issue in order to get things working. Please fix ASAP."}}