{"action":"created","issue":{"url":"https://api.github.com/repos/englercj/node-esl/issues/53","labels_url":"https://api.github.com/repos/englercj/node-esl/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/englercj/node-esl/issues/53/comments","events_url":"https://api.github.com/repos/englercj/node-esl/issues/53/events","html_url":"https://github.com/englercj/node-esl/issues/53","id":124097488,"number":53,"title":"TypeError: Cannot call method 'forEach' of undefined","user":{"login":"shabbir92","id":5300022,"avatar_url":"https://avatars.githubusercontent.com/u/5300022?v=3","gravatar_id":"","url":"https://api.github.com/users/shabbir92","html_url":"https://github.com/shabbir92","followers_url":"https://api.github.com/users/shabbir92/followers","following_url":"https://api.github.com/users/shabbir92/following{/other_user}","gists_url":"https://api.github.com/users/shabbir92/gists{/gist_id}","starred_url":"https://api.github.com/users/shabbir92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shabbir92/subscriptions","organizations_url":"https://api.github.com/users/shabbir92/orgs","repos_url":"https://api.github.com/users/shabbir92/repos","events_url":"https://api.github.com/users/shabbir92/events{/privacy}","received_events_url":"https://api.github.com/users/shabbir92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-28T17:48:03Z","updated_at":"2015-12-30T16:39:12Z","closed_at":null,"body":"[root@linx channels]# ./bin/channels\r\n   info  - socket.io started\r\n\r\n/opt/node-esl-master/examples/channels/node_modules/modesl/lib/esl/connection.js:594\r\n                    doc.row.forEach(function(row) {\r\n                            ^\r\nTypeError: Cannot call method 'forEach' of undefined\r\n    at /opt/node-esl-master/examples/channels/node_modules/modesl/lib/esl/connection.js:594:29\r\n    at Parser.<anonymous> (/opt/node-esl-master/examples/channels/node_modules/xml2js/lib/xml2js.js:255:20)\r\n    at Parser.emit (events.js:95:17)\r\n    at Object.saxParser.onclosetag (/opt/node-esl-master/examples/channels/node_modules/xml2js/lib/xml2js.js:225:24)\r\n    at emit (/opt/node-esl-master/examples/channels/node_modules/sax/lib/sax.js:615:33)\r\n    at emitNode (/opt/node-esl-master/examples/channels/node_modules/sax/lib/sax.js:620:3)\r\n    at closeTag (/opt/node-esl-master/examples/channels/node_modules/sax/lib/sax.js:861:5)\r\n    at Object.write (/opt/node-esl-master/examples/channels/node_modules/sax/lib/sax.js:1181:11)\r\n    at Parser.exports.Parser.Parser.parseString (/opt/node-esl-master/examples/channels/node_modules/xml2js/lib/xml2js.js:273:29)\r\n    at Parser.parseString (/opt/node-esl-master/examples/channels/node_modules/xml2js/lib/xml2js.js:6:61)\r\n\r\ncentos 7 \r\n[root@linx channels]# uname -a\r\nLinux linx.lan 3.10.0-229.20.1.el7.x86_64 #1 SMP Tue Nov 3 19:10:07 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\nkindly help me on this to resolve"},"comment":{"url":"https://api.github.com/repos/englercj/node-esl/issues/comments/168030715","html_url":"https://github.com/englercj/node-esl/issues/53#issuecomment-168030715","issue_url":"https://api.github.com/repos/englercj/node-esl/issues/53","id":168030715,"user":{"login":"englercj","id":944497,"avatar_url":"https://avatars.githubusercontent.com/u/944497?v=3","gravatar_id":"","url":"https://api.github.com/users/englercj","html_url":"https://github.com/englercj","followers_url":"https://api.github.com/users/englercj/followers","following_url":"https://api.github.com/users/englercj/following{/other_user}","gists_url":"https://api.github.com/users/englercj/gists{/gist_id}","starred_url":"https://api.github.com/users/englercj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/englercj/subscriptions","organizations_url":"https://api.github.com/users/englercj/orgs","repos_url":"https://api.github.com/users/englercj/repos","events_url":"https://api.github.com/users/englercj/events{/privacy}","received_events_url":"https://api.github.com/users/englercj/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T16:39:12Z","updated_at":"2015-12-30T16:39:12Z","body":"Go to your project's directory and do: `npm install modesl`.\r\n\r\nThen in your project `require('modesl')`.\r\n\r\nThat should give you the latest version from the package registry, using the proper install method. npm takes care of getting all the dependencies for you, and you can even check that the version is correct. It should be v1.1.6, which after installing you can see with `npm ls --depth 0`"}}