{"action":"created","issue":{"url":"https://api.github.com/repos/ging/licode/issues/308","labels_url":"https://api.github.com/repos/ging/licode/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/ging/licode/issues/308/comments","events_url":"https://api.github.com/repos/ging/licode/issues/308/events","html_url":"https://github.com/ging/licode/issues/308","id":89060664,"number":308,"title":"'setImmediate is not defined' error running basic example with node v0.12.0","user":{"login":"j4y","id":36337,"avatar_url":"https://avatars.githubusercontent.com/u/36337?v=3","gravatar_id":"","url":"https://api.github.com/users/j4y","html_url":"https://github.com/j4y","followers_url":"https://api.github.com/users/j4y/followers","following_url":"https://api.github.com/users/j4y/following{/other_user}","gists_url":"https://api.github.com/users/j4y/gists{/gist_id}","starred_url":"https://api.github.com/users/j4y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j4y/subscriptions","organizations_url":"https://api.github.com/users/j4y/orgs","repos_url":"https://api.github.com/users/j4y/repos","events_url":"https://api.github.com/users/j4y/events{/privacy}","received_events_url":"https://api.github.com/users/j4y/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-17T16:14:01Z","updated_at":"2015-06-17T16:24:35Z","closed_at":null,"body":"I ran into this error running on OSX 10.8.5 and fixed it by downgrading to node v0.10.x\r\n\r\n```\r\n$ ./licode/scripts/initBasicExample.sh\r\n...\r\n\r\n/Users/jayprall/Code/licode/node_modules/express/lib/router/index.js:188\r\n      setImmediate(done, layerError);\r\n      ^\r\nReferenceError: setImmediate is not defined\r\n    at next (/Users/jayprall/Code/licode/node_modules/express/lib/router/index.js:188:7)\r\n    at Layer.handle [as handle_request] (/Users/jayprall/Code/licode/node_modules/express/lib/router/layer.js:84:5)\r\n    at trim_prefix (/Users/jayprall/Code/licode/node_modules/express/lib/router/index.js:302:13)\r\n    at proto.handle.c (/Users/jayprall/Code/licode/node_modules/express/lib/router/index.js:270:7)\r\n    at Function.proto.process_params (/Users/jayprall/Code/licode/node_modules/express/lib/router/index.js:321:12)\r\n    at next (/Users/jayprall/Code/licode/node_modules/express/lib/router/index.js:261:10)\r\n    at SendStream.error (/Users/jayprall/Code/licode/node_modules/express/node_modules/serve-static/index.js:107:7)\r\n    at SendStream.EventEmitter.emit (events.js:126:20)\r\n    at SendStream.error (/Users/jayprall/Code/licode/node_modules/express/node_modules/send/index.js:250:17)\r\n    at SendStream.onStatError (/Users/jayprall/Code/licode/node_modules/express/node_modules/send/index.js:346:48)\r\n```"},"comment":{"url":"https://api.github.com/repos/ging/licode/issues/comments/112868345","html_url":"https://github.com/ging/licode/issues/308#issuecomment-112868345","issue_url":"https://api.github.com/repos/ging/licode/issues/308","id":112868345,"user":{"login":"zicrox","id":6750565,"avatar_url":"https://avatars.githubusercontent.com/u/6750565?v=3","gravatar_id":"","url":"https://api.github.com/users/zicrox","html_url":"https://github.com/zicrox","followers_url":"https://api.github.com/users/zicrox/followers","following_url":"https://api.github.com/users/zicrox/following{/other_user}","gists_url":"https://api.github.com/users/zicrox/gists{/gist_id}","starred_url":"https://api.github.com/users/zicrox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zicrox/subscriptions","organizations_url":"https://api.github.com/users/zicrox/orgs","repos_url":"https://api.github.com/users/zicrox/repos","events_url":"https://api.github.com/users/zicrox/events{/privacy}","received_events_url":"https://api.github.com/users/zicrox/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T16:24:35Z","updated_at":"2015-06-17T16:24:35Z","body":"the same thing happens to me in ubuntu 12.04. With node 10.x run fine.\nEl 17/6/2015 6:14 p. m., \"Jay Prall\" <notifications@github.com> escribió:\n\n> I ran into this error running on OSX 10.8.5 and fixed it by downgrading to\n> node v0.10.x\n>\n> $ ./licode/scripts/initBasicExample.sh\n> ...\n>\n> /Users/jayprall/Code/licode/node_modules/express/lib/router/index.js:188\n>       setImmediate(done, layerError);\n>       ^\n> ReferenceError: setImmediate is not defined\n>     at next (/Users/jayprall/Code/licode/node_modules/express/lib/router/index.js:188:7)\n>     at Layer.handle [as handle_request] (/Users/jayprall/Code/licode/node_modules/express/lib/router/layer.js:84:5)\n>     at trim_prefix (/Users/jayprall/Code/licode/node_modules/express/lib/router/index.js:302:13)\n>     at proto.handle.c (/Users/jayprall/Code/licode/node_modules/express/lib/router/index.js:270:7)\n>     at Function.proto.process_params (/Users/jayprall/Code/licode/node_modules/express/lib/router/index.js:321:12)\n>     at next (/Users/jayprall/Code/licode/node_modules/express/lib/router/index.js:261:10)\n>     at SendStream.error (/Users/jayprall/Code/licode/node_modules/express/node_modules/serve-static/index.js:107:7)\n>     at SendStream.EventEmitter.emit (events.js:126:20)\n>     at SendStream.error (/Users/jayprall/Code/licode/node_modules/express/node_modules/send/index.js:250:17)\n>     at SendStream.onStatError (/Users/jayprall/Code/licode/node_modules/express/node_modules/send/index.js:346:48)\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/ging/licode/issues/308>.\n>\n"}}