isaacs/npm — Issue #1539: npm install -g fail on Mac OS X Lion.
Author: bitsmix
Created: 2011-10-12 05:54:37+00:00
State: open

I tried to install express and stylus via node js, but all failed, installing style log:

> sudo npm install -g stylus
npm ERR! error installing stylus@0.17.0 Error: ETIMEDOUT, Operation timed out
npm ERR! error installing stylus@0.17.0 at Socket._onConnect (net.js:601:18)
npm ERR! error installing stylus@0.17.0 at IOWatcher.onWritable [as callback] (net.js:186:12)
npm ERR! Error: ETIMEDOUT, Operation timed out
npm ERR! at Socket._onConnect (net.js:601:18)
npm ERR! at IOWatcher.onWritable [as callback] (net.js:186:12)
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Darwin 11.1.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "stylus"
npm ERR! cwd /Users/nos
npm ERR! node -v v0.4.11
npm ERR! npm -v 1.0.30
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/nos/npm-debug.log
npm not ok