{"action":"created","issue":{"url":"https://api.github.com/repos/rannmann/node-steam-user-trade-tutorial/issues/4","repository_url":"https://api.github.com/repos/rannmann/node-steam-user-trade-tutorial","labels_url":"https://api.github.com/repos/rannmann/node-steam-user-trade-tutorial/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/rannmann/node-steam-user-trade-tutorial/issues/4/comments","events_url":"https://api.github.com/repos/rannmann/node-steam-user-trade-tutorial/issues/4/events","html_url":"https://github.com/rannmann/node-steam-user-trade-tutorial/issues/4","id":125768902,"number":4,"title":".on issue","user":{"login":"xtreameprogram","id":3631604,"avatar_url":"https://avatars.githubusercontent.com/u/3631604?v=3","gravatar_id":"","url":"https://api.github.com/users/xtreameprogram","html_url":"https://github.com/xtreameprogram","followers_url":"https://api.github.com/users/xtreameprogram/followers","following_url":"https://api.github.com/users/xtreameprogram/following{/other_user}","gists_url":"https://api.github.com/users/xtreameprogram/gists{/gist_id}","starred_url":"https://api.github.com/users/xtreameprogram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtreameprogram/subscriptions","organizations_url":"https://api.github.com/users/xtreameprogram/orgs","repos_url":"https://api.github.com/users/xtreameprogram/repos","events_url":"https://api.github.com/users/xtreameprogram/events{/privacy}","received_events_url":"https://api.github.com/users/xtreameprogram/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-09T16:52:03Z","updated_at":"2016-05-04T19:09:58Z","closed_at":null,"body":"Everytime I run the script, I get an error as seen below\r\n\r\nclient.friends.on('relationships', function(){\r\n              ^\r\n\r\nTypeError: Cannot read property 'on' of undefined\r\n    at Object.<anonymous> (/Users/ford/main.js:142:15)\r\n    at Module._compile (module.js:398:26)\r\n    at Object.Module._extensions..js (module.js:405:10)\r\n    at Module.load (module.js:344:32)\r\n    at Function.Module._load (module.js:301:12)\r\n    at Function.Module.runMain (module.js:430:10)\r\n    at startup (node.js:141:18)\r\n    at node.js:1003:3\r\n"},"comment":{"url":"https://api.github.com/repos/rannmann/node-steam-user-trade-tutorial/issues/comments/216969876","html_url":"https://github.com/rannmann/node-steam-user-trade-tutorial/issues/4#issuecomment-216969876","issue_url":"https://api.github.com/repos/rannmann/node-steam-user-trade-tutorial/issues/4","id":216969876,"user":{"login":"Yoda3D","id":9251684,"avatar_url":"https://avatars.githubusercontent.com/u/9251684?v=3","gravatar_id":"","url":"https://api.github.com/users/Yoda3D","html_url":"https://github.com/Yoda3D","followers_url":"https://api.github.com/users/Yoda3D/followers","following_url":"https://api.github.com/users/Yoda3D/following{/other_user}","gists_url":"https://api.github.com/users/Yoda3D/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoda3D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoda3D/subscriptions","organizations_url":"https://api.github.com/users/Yoda3D/orgs","repos_url":"https://api.github.com/users/Yoda3D/repos","events_url":"https://api.github.com/users/Yoda3D/events{/privacy}","received_events_url":"https://api.github.com/users/Yoda3D/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T19:09:58Z","updated_at":"2016-05-04T19:09:58Z","body":"I'm getting the same issue, if anyone figures out a fix, I would be very grateful."}}