Npm was down
npmjs.org
npmjs.org
The root cause was a network failure at our CDN, Fastly. The incident was limited to a single Point of Presence (POP) in San Jose, so if you were in Europe or Asia you didn't see anything wrong, but obviously at this time of day most traffic is from the west coast.
While our uptime over the last few months has been pretty great, in the last week we've had two non-trivial incidents. That's unacceptable to our users, and to us, and we're not just sitting around hoping it doesn't happen again, but will be making fundamental architectural changes to eliminate the sources of failure we've seen.
Almost none of our downtime since February (when we sorted out some bugs in our app that were affecting couch performance) is attributable to couch. Mostly it has been network-related problems at the caching layer, and the fixes we need to make involve making failover faster and more reliable, as failures are inevitable in any large distributed system.
Good thing our devs all rely on this for successful app builds...
I noticed every package installed is cached locally and since I'm usually reinstalling the same packages it would be great if I could point to a folder and let npm install packages and their dependencies from there. Extra points if it could fallback to the official registry if it fails to find a package in the local folder.
The Guru Meditation error originated with Amiga: http://en.wikipedia.org/wiki/Guru_Meditation