visionmedia/express-expose — comment on commit d0fd9f8113801e8877eeab174b231f189c935317
File: lib/express-expose.js line 116
By stagas:

This resolves using express-expose's require, not the app's. So `app.exposeModule('./foo')` doesn't find myapp/foo.js.
A workaround I tried and it worked was to pass the `require` object from within the app and use that to resolve.
I have a fix ready but I couldn't get the tests to run in my env. I used `app.exposeRequire(require)` to pass the reference in `this._require` but I'm not sure it's the right place to be. Let me know if you want the pull.