FredrikNoren / ungit

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

Error after updating to 0.1.8 #178

Closed frytaz closed 11 years ago

frytaz commented 11 years ago

npm update -g ungit ungit After this update all i can see is this error in browser { "error": "Object # has no method 'setTimeout'", "errorType": "TypeError", "stack": "TypeError: Object # has no method 'setTimeout'\n at Object.handle (/usr/local/lib/node_modules/ungit/source/server.js:65:7)\n at next (/usr/local/lib/node_modules/ungit/node_modules/express/node_modules/connect/lib/proto.js:190:15)\n at Object.noCache as handle\n at next (/usr/local/lib/node_modules/ungit/node_modules/express/node_modules/connect/lib/proto.js:190:15)\n at Object.handle (/usr/local/lib/node_modules/ungit/source/server.js:51:4)\n at next (/usr/local/lib/node_modules/ungit/node_modules/express/node_modules/connect/lib/proto.js:190:15)\n at Object.expressInit as handle\n at next (/usr/local/lib/node_modules/ungit/node_modules/express/node_modules/connect/lib/proto.js:190:15)\n at Object.query as handle\n at next (/usr/local/lib/node_modules/ungit/node_modules/express/node_modules/connect/lib/proto.js:190:15)" }

Pixy commented 11 years ago

I just had the same problem, updating NPM resolved the problem for me : http://theholmesoffice.com/node-js-fundamentals-how-to-upgrade-the-node-js-version/

Just do : sudo npm cache clean -f sudo npm install -g n sudo n stable ungit

It should work

frytaz commented 11 years ago

Yes, updating npm resolved this error, thanks :)

rchod commented 11 years ago

when i do $ n stable i got this

  install : 0.10.17

  Error: invalid version 0.10.17
FredrikNoren commented 11 years ago

@rchod hm no idea why that wouldn't work. Did you clean out the cache and everything before?