-
Notifications
You must be signed in to change notification settings - Fork 83
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
-r seems to break it? #20
Comments
Interesting - I recognise both these errors, will look into it shortly and let you know :) |
cool.. no rush, i hacked a fix by ignoring the problematic modules |
Cool – do you have a test case I can break it with? |
Unfortunately the code is private. I'll see if I can replicate it tho Sent from my iPhone
|
Getting the same error unfortunately. @mattdesl did you get around to reproducing the problem? |
I was able to reproduce it on a private repo. Basically this was breaking it:
Where "foo" was a module that had its own package and index.js. If I remember correctly, I lazily fixed it by doing Sent from my iPhone
|
this also seems to happen if you have custom NODE_PATH like |
Thought I'd add that this appears to continue to be an issue. I get the same error when creating a 'vendor' bundle that consists solely of $ browserify -r foo -r bar -r baz --full-paths > vendor.js |
I'm getting the same issue with |
+1 cant compile with --require |
With
-r ./foo/bar:foo
option to browserify, I'm getting this error:Will try to look into it further..
EDIT: Seems related to browser-unpack; the latest version
1.0.0
fixes the problem but introduces another:Using a full path for my
-r
option doesn't fix the issue.The text was updated successfully, but these errors were encountered: