-
Notifications
You must be signed in to change notification settings - Fork 27
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
react-bootstrap, lodash, and factor-bundle not playing well together #79
Comments
+1 I'm getting a similar issue |
@djforth any differences in your issue? Maybe we can find a common thread. |
This seems related to #51 |
Hi Sorry for the late reply, I think my issue was 2 fold. Firstly my common bundle seemed to loading after my other bundles because of async and secondly it was a dependancy mismatch. Once I had sorted it so that my internal modules where all the same + using peerDependancy over dependancy in the modules the issue seemed to disappear. Hope that helps. |
I'm having the exact same issue and I am quite, quite desperate now. It took me three days to narrow it down to factor-bundle... apparently, if I require more than one module twice with Browserify, I'm also getting the following error:
If I duplicate a module and give it a different name, everything works as expected. |
@djforth Could you please give me some more details about your dependency mismatch? How did you narrow them down to the root cause? |
This might be related to the problem in I've got an open pull request fixing that (browserify/browser-pack#73), but it has no response yet. |
I was only seeing this issue in lodash v3 (was using v3.10.1), but after upgrading lodash to v4 (v4.6.1), I no longer see the issue. Closing. |
I've been working on this problem for a couple of days, and I think I finally have it narrowed down. If I'm using factor-bundle where one file contains a reference to lodash and the other file contains a reference to react-bootstrap, I get the following error:
Here is what is needed to reproduce:
index.html
main/index.js
main/bad.js
Build with:
The text was updated successfully, but these errors were encountered: