{"action":"created","issue":{"url":"https://api.github.com/repos/substack/node-resolve/issues/60","labels_url":"https://api.github.com/repos/substack/node-resolve/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/substack/node-resolve/issues/60/comments","events_url":"https://api.github.com/repos/substack/node-resolve/issues/60/events","html_url":"https://github.com/substack/node-resolve/issues/60","id":50887534,"number":60,"title":"\"Error: Cannot find module\" output should include filename","user":{"login":"jmm","id":129203,"avatar_url":"https://avatars.githubusercontent.com/u/129203?v=3","gravatar_id":"","url":"https://api.github.com/users/jmm","html_url":"https://github.com/jmm","followers_url":"https://api.github.com/users/jmm/followers","following_url":"https://api.github.com/users/jmm/following{/other_user}","gists_url":"https://api.github.com/users/jmm/gists{/gist_id}","starred_url":"https://api.github.com/users/jmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmm/subscriptions","organizations_url":"https://api.github.com/users/jmm/orgs","repos_url":"https://api.github.com/users/jmm/repos","events_url":"https://api.github.com/users/jmm/events{/privacy}","received_events_url":"https://api.github.com/users/jmm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-03T20:20:39Z","updated_at":"2015-01-20T21:16:49Z","closed_at":null,"body":"When using browserify and there's a problem with the path to a module, I get error output like:\r\n\r\n````\r\nError: Cannot find module 'module' from '/dir/subdir'\r\n````\r\n\r\nThere may be any number of files in `subdir` that were trying to require the module. It would be really helpful for the error output to include the filename that contained the `require()` call instead of just the path to the dir it resides in."},"comment":{"url":"https://api.github.com/repos/substack/node-resolve/issues/comments/70735182","html_url":"https://github.com/substack/node-resolve/issues/60#issuecomment-70735182","issue_url":"https://api.github.com/repos/substack/node-resolve/issues/60","id":70735182,"user":{"login":"jmm","id":129203,"avatar_url":"https://avatars.githubusercontent.com/u/129203?v=3","gravatar_id":"","url":"https://api.github.com/users/jmm","html_url":"https://github.com/jmm","followers_url":"https://api.github.com/users/jmm/followers","following_url":"https://api.github.com/users/jmm/following{/other_user}","gists_url":"https://api.github.com/users/jmm/gists{/gist_id}","starred_url":"https://api.github.com/users/jmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmm/subscriptions","organizations_url":"https://api.github.com/users/jmm/orgs","repos_url":"https://api.github.com/users/jmm/repos","events_url":"https://api.github.com/users/jmm/events{/privacy}","received_events_url":"https://api.github.com/users/jmm/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T21:16:49Z","updated_at":"2015-01-20T21:16:49Z","body":"This can be fixed if browser-resolve will pass through the original options it's called with. See defunctzombie/node-browser-resolve/pull/52. If you'd like to see this fixed please voice your support there."}}