caolan/nodeunit — Issue #136: `npm install -g  nodeunit` results in require('nodeunit') not working
Author: dylang
Created: 2011-11-21 21:12:41+00:00
State: open

If I installed `nodeunit` using `-g` I can use nodeunit on the command line (ie: `$ nodeunit test`) but i can't require it (ie: `require('nodeunit')`). My workaround has been to *also* install nodeunit without -g in the project's directory.

Expected behavior: The global install should be accessible by `require` from within tests.

This is in both node 0.4.12 and 0.6 in OSX.