-
-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Error: Cannot find module" output should include filename #60
Comments
+1 |
This can be fixed if browser-resolve will pass through the original options it's called with. See browserify/browser-resolve/pull/52. If you'd like to see this fixed please voice your support there. |
@defunctzombie merged browserify/browser-resolve/pull/52 to pass through the options, so I'll be working on a PR here for this. |
We would also love to see this fixed. What is the state of #64. Will it be merged eventually? |
Made a plugin for this: https://www.npmjs.com/package/browserify-require-not-found-parent |
This will be taken care of once #64 (comment) is rebased. |
#162 is not merged on browsersify Also 4 years after, this solution steals works fine:
|
@A-312 that PR is merged on this repo, and released in v1.8.0. |
When using browserify and there's a problem with the path to a module, I get error output like:
There 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 therequire()
call instead of just the path to the dir it resides in.The text was updated successfully, but these errors were encountered: