Giving up? There is no giving up in Node.js! Come on..

Running “karma:unit” (karma) task

ERROR [launcher]: PhantomJS failed 2 times (timeout). Giving up.

Warning: Task “karma:unit” failed. Use –force to continue.

Scouring over Stack Overflow has gotten you nowhere. Your pals on IRC haven’t come up with a solution either. You have blown away your whole Node environment, upgraded certain dependencies, and downgraded other packages. What is the solution?

nvm install 0.12.0
nvm use 0.12.0

Looks like certain versions of Node.js prior to 0.12.0 caused issues between Karma and PhantomJS. Upgrade to the latest stable version and you should be good to go.