FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.44k stars 637 forks source link

upgrading from 0.1.6 to 0.1.8 "error": "Object #<ServerResponse> has no method 'setTimeout'" #181

Closed rchod closed 11 years ago

rchod commented 11 years ago

so i was on version 0.1.6 and everything was ok, but when i tried "npm update -g ungit"

now i have this error when i do "ungit" command { "error": "Object # has no method 'setTimeout'", "errorType": "TypeError", "stack": "TypeError: Object # has no method 'setTimeout'\n at Object.handle (C:\Users\user\AppData\Roaming\npm\node_modules\ungit\source\server.js:65:7)\n at next (C:\Users\user\AppData\Roaming\npm\node_modules\ungit\node_modules\express\node_modules\connect\lib\proto.js:190:15)\n at Object.noCache as handle\n at next (C:\Users\user\AppData\Roaming\npm\node_modules\ungit\node_modules\express\node_modules\connect\lib\proto.js:190:15)\n at Object.handle (C:\Users\user\AppData\Roaming\npm\node_modules\ungit\source\server.js:51:4)\n at next (C:\Users\user\AppData\Roaming\npm\node_modules\ungit\node_modules\express\node_modules\connect\lib\proto.js:190:15)\n at Object.expressInit as handle\n at next (C:\Users\user\AppData\Roaming\npm\node_modules\ungit\node_modules\express\node_modules\connect\lib\proto.js:190:15)\n at Object.query as handle\n at next (C:\Users\user\AppData\Roaming\npm\node_modules\ungit\node_modules\express\node_modules\connect\lib\proto.js:190:15)" }

FredrikNoren commented 11 years ago

You need to update npm. See #178 On 3 Sep 2013 15:11, "rachid O" notifications@github.com wrote:

so i was on version 0.1.6 and everything was ok, but when i tried "npm update -g ungit"

now i have this error when i do "ungit" command { "error": "Object # has no method 'setTimeout'", "errorType": "TypeError", "stack": "TypeError: Object # has no method 'setTimeout'\n at Object.handle (C:\Users\user\AppData\Roaming\npm\node_modules\ungit\source\server.js:65:7)\n at next (C:\Users\user\AppData\Roaming\npm\node_modules\ungit\node_modules\express\node_modules\connect\lib\proto.js:190:15)\n at Object.noCache as handle\n at next (C:\Users\user\AppData\Roaming\npm\node_modules\ungit\node_modules\express\node_modules\connect\lib\proto.js:190:15)\n at Object.handle (C:\Users\user\AppData\Roaming\npm\node_modules\ungit\source\server.js:51:4)\n at next (C:\Users\user\AppData\Roaming\npm\node_modules\ungit\node_modules\express\node_modules\connect\lib\proto.js:190:15)\n at Object.expressInit as handle\n at next (C:\Users\user\AppData\Roaming\npm\node_modules\ungit\node_modules\express\node_modules\connect\lib\proto.js:190:15)\n at Object.query as handle\n at next (C:\Users\user\AppData\Roaming\npm\node_modules\ungit\node_modules\express\node_module s\connect\lib\proto.js:190:15)" }

— Reply to this email directly or view it on GitHubhttps://github.com/FredrikNoren/ungit/issues/181 .

FredrikNoren commented 11 years ago

Closing this one as a duplicate