Bug? require inside on npm modules

How make require work inside on node_modules for firefox addon sdk

index.js
node_modules
    path
    upath2

index.js

require('upath2')

upath2 include

require("path");

will can’t found path at upath2