{"action":"created","issue":{"url":"https://api.github.com/repos/node-xmpp/server/issues/158","repository_url":"https://api.github.com/repos/node-xmpp/server","labels_url":"https://api.github.com/repos/node-xmpp/server/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/node-xmpp/server/issues/158/comments","events_url":"https://api.github.com/repos/node-xmpp/server/issues/158/events","html_url":"https://github.com/node-xmpp/server/issues/158","id":157450638,"number":158,"title":"npm test return \"npm ERR! Exit status 7\"","user":{"login":"bmg1","id":8182140,"avatar_url":"https://avatars.githubusercontent.com/u/8182140?v=3","gravatar_id":"","url":"https://api.github.com/users/bmg1","html_url":"https://github.com/bmg1","followers_url":"https://api.github.com/users/bmg1/followers","following_url":"https://api.github.com/users/bmg1/following{/other_user}","gists_url":"https://api.github.com/users/bmg1/gists{/gist_id}","starred_url":"https://api.github.com/users/bmg1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmg1/subscriptions","organizations_url":"https://api.github.com/users/bmg1/orgs","repos_url":"https://api.github.com/users/bmg1/repos","events_url":"https://api.github.com/users/bmg1/events{/privacy}","received_events_url":"https://api.github.com/users/bmg1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-30T07:56:03Z","updated_at":"2016-05-30T17:21:45Z","closed_at":"2016-05-30T14:32:17Z","body":"Hi!\r\n\r\nSorry for troubles.\r\nbut i can't install node-xmpp-server\r\n\r\n- CentOS release 6.7 (Final)\r\n- kernel 2.6.32-573.18.1.el6.x86_64\r\n- node v6.2.0\r\n- npm 3.9.3\r\n\r\n\r\n* git clone https://github.com/node-xmpp/server.git\r\n* cd server\r\n* npm install\r\n* npm test\r\n and GET ERRORS:\r\n\r\n\r\n> # npm test\r\n> \r\n> > node-xmpp-server@2.1.3 test /var/www/jabber/public_html/server\r\n> > npm run unit && npm run lint && npm run coverage\r\n> \r\n> \r\n> > node-xmpp-server@2.1.3 unit /var/www/jabber/public_html/server\r\n> > mocha --recursive test/ -t 3000\r\n> \r\n> \r\n> \r\n>   C2S BOSH server client\r\n>     server\r\n>       1) should listen\r\n>     client\r\n>       2) should connect\r\n> \r\n>   C2S TCP server client\r\n>     server\r\n>       3) should listen\r\n>     client\r\n>       4) should connect\r\n>       5) should disconnect when server shuts down\r\n> \r\n>   C2S WebSocket server client\r\n>     server\r\n>       - should listen\r\n>     client\r\n>       - should connect\r\n>       - should disconnect when server shuts down\r\n> \r\n>   SASL\r\n>     PLAIN\r\n>       6) \"before all\" hook\r\n> \r\n>   7) Uncaught error outside test suite\r\n> \r\n>   0 passing (3s)\r\n>   3 pending\r\n>   7 failing\r\n> \r\n>   1) C2S BOSH server client server should listen:\r\n>      Uncaught Error: listen EAFNOSUPPORT :::5280\r\n>       at Object.exports._errnoException (util.js:953:11)\r\n>       at exports._exceptionWithHostPort (util.js:976:20)\r\n>       at Server._listen2 (net.js:1240:19)\r\n>       at listen (net.js:1289:10)\r\n>       at net.js:1399:9\r\n>       at _combinedTickCallback (internal/process/next_tick.js:77:11)\r\n>       at process._tickCallback (internal/process/next_tick.js:98:9)\r\n> \r\n>   2) C2S BOSH server client client should connect:\r\n>      Error: connect ECONNREFUSED 127.0.0.1:5280\r\n>       at Object.exports._errnoException (util.js:953:11)\r\n>       at exports._exceptionWithHostPort (util.js:976:20)\r\n>       at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1080:14)\r\n> \r\n>   3) C2S TCP server client server should listen:\r\n>      Uncaught Error: listen EAFNOSUPPORT :::5222\r\n>       at Object.exports._errnoException (util.js:953:11)\r\n>       at exports._exceptionWithHostPort (util.js:976:20)\r\n>       at Server._listen2 (net.js:1240:19)\r\n>       at listen (net.js:1289:10)\r\n>       at net.js:1399:9\r\n>       at _combinedTickCallback (internal/process/next_tick.js:77:11)\r\n>       at process._tickCallback (internal/process/next_tick.js:98:9)\r\n> \r\n>   4) C2S TCP server client client should connect:\r\n>      Error: connect ECONNREFUSED 127.0.0.1:5222\r\n>       at Object.exports._errnoException (util.js:953:11)\r\n>       at exports._exceptionWithHostPort (util.js:976:20)\r\n>       at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1080:14)\r\n> \r\n>   5) C2S TCP server client client should disconnect when server shuts down:\r\n>      Error: timeout of 3000ms exceeded. Ensure the done() callback is being called in this test.\r\n>   \r\n> \r\n>   6) SASL PLAIN \"before all\" hook:\r\n>      Uncaught Error: listen EAFNOSUPPORT :::5222\r\n>       at Object.exports._errnoException (util.js:953:11)\r\n>       at exports._exceptionWithHostPort (util.js:976:20)\r\n>       at Server._listen2 (net.js:1240:19)\r\n>       at listen (net.js:1289:10)\r\n>       at net.js:1399:9\r\n>       at _combinedTickCallback (internal/process/next_tick.js:77:11)\r\n>       at process._tickCallback (internal/process/next_tick.js:98:9)\r\n> \r\n>   7) SASL PLAIN Uncaught error outside test suite:\r\n>      Uncaught TypeError: Cannot read property 'currentRetry' of undefined\r\n>   \r\n> \r\n> \r\n> \r\n> \r\n> npm ERR! Linux 2.6.32-573.18.1.el6.x86_64\r\n> npm ERR! argv \"/usr/bin/node\" \"/usr/bin/npm\" \"run\" \"unit\"\r\n> npm ERR! node v6.2.0\r\n> npm ERR! npm  v3.9.3\r\n> npm ERR! code ELIFECYCLE\r\n> npm ERR! node-xmpp-server@2.1.3 unit: `mocha --recursive test/ -t 3000`\r\n> npm ERR! Exit status 7\r\n> npm ERR! \r\n> npm ERR! Failed at the node-xmpp-server@2.1.3 unit script 'mocha --recursive test/ -t 3000'.\r\n> npm ERR! Make sure you have the latest version of node.js and npm installed.\r\n> npm ERR! If you do, this is most likely a problem with the node-xmpp-server package,\r\n> npm ERR! not with npm itself.\r\n> npm ERR! Tell the author that this fails on your system:\r\n> npm ERR!     mocha --recursive test/ -t 3000\r\n> npm ERR! You can get information on how to open an issue for this project with:\r\n> npm ERR!     npm bugs node-xmpp-server\r\n> npm ERR! Or if that isn't available, you can get their info via:\r\n> npm ERR!     npm owner ls node-xmpp-server\r\n> npm ERR! There is likely additional logging output above.\r\n> \r\n> npm ERR! Please include the following file with any support request:\r\n> npm ERR!     /var/www/jabber/public_html/server/npm-debug.log\r\n> npm ERR! Test failed.  See above for more details.\r\n> \r\n\r\nPlease help where is errors and what need for work test?\r\n\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/node-xmpp/server/issues/comments/222530643","html_url":"https://github.com/node-xmpp/server/issues/158#issuecomment-222530643","issue_url":"https://api.github.com/repos/node-xmpp/server/issues/158","id":222530643,"user":{"login":"lloydwatkin","id":271622,"avatar_url":"https://avatars.githubusercontent.com/u/271622?v=3","gravatar_id":"","url":"https://api.github.com/users/lloydwatkin","html_url":"https://github.com/lloydwatkin","followers_url":"https://api.github.com/users/lloydwatkin/followers","following_url":"https://api.github.com/users/lloydwatkin/following{/other_user}","gists_url":"https://api.github.com/users/lloydwatkin/gists{/gist_id}","starred_url":"https://api.github.com/users/lloydwatkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lloydwatkin/subscriptions","organizations_url":"https://api.github.com/users/lloydwatkin/orgs","repos_url":"https://api.github.com/users/lloydwatkin/repos","events_url":"https://api.github.com/users/lloydwatkin/events{/privacy}","received_events_url":"https://api.github.com/users/lloydwatkin/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T17:21:45Z","updated_at":"2016-05-30T17:21:45Z","body":"The 7 will be a count of the number of fails.\r\n"}}
{"actor":{"display_login":"lloydwatkin"}}