substack/node-resolve — pull request #36 by phleet (2013-10-18 14:14:59+00:00)
Title: Provide context when resolution fails

When a build failures on browserify, it just complains that it can't find a certain module, it doesn't say where it's trying to find it from.

This doesn't actually identify the source file, but at least tells you what directory you should be searching for problems in.

For example:

```
Error: Cannot find module 'tap' from '/Users/jlfwong/code/node-resolve/example'
```