isaacs/npm — Issue #1755: $HOME is somehow required
Author: quartzjer
Created: 2011-11-22 19:41:06+00:00
State: open

When using npm programmatically, it seems to require ~/.npm/ even after using .load({root:X}). Had to resort to setting process.env.HOME before require('npm').