FredrikNoren / ungit

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

Error: Cannot find module 'phantomjs' after Git pull #207

Closed syndrael closed 11 years ago

syndrael commented 11 years ago

Hello, After a Git pull and npm start, nothing starts and a message is displayed.

ungit@0.2.0 start /usr/share/ungit node ./bin/ungit

module.js:340 throw err; ^ Error: Cannot find module 'optimist' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (/usr/share/ungit/source/config.js:2:16) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) npm ERR! weird error 8 npm ERR! not ok code 0

npm test gives nothing:

ungit@0.2.0 test /usr/share/ungit grunt test

Loading "Gruntfile.js" tasks...ERROR

Error: Cannot find module 'phantomjs' Warning: Task "test" not found. Use --force to continue.

Aborted due to warnings. npm ERR! weird error 3 npm ERR! not ok code 0

Could you help me ? Best regards from Paris,France

FredrikNoren commented 11 years ago

You'll probably need to npm install again, the dependencies have changed.

syndrael commented 11 years ago

You're right. It works !! Thanks.