isaacs/npm — Issue #1694: current install.sh fails with Solaris sh
Author: ptribble
Created: 2011-11-10 19:20:54+00:00
State: open

The current install.sh has the following on line 203 (and later at line 221)

if [ -e node_modules ]; then

This doesn't work with Solaris (10 and earlier) /bin/sh, which doesn't support -e for test.

It's unclear to me why the test isn't -d, as you're expecting a directory in any case.