re: The node_modules problem VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

The dependency problem has zero to do with OO and all to do with module isolation. In Java, your dependencies are simply "I have this package accessible and can import it". If foo.bar.Baz is on your path, you can import it, that's it. But where you import it from makes no difference, and so you can't have foo.bar v1 and v2 in the same project unless they took care themselves of using different package names.

code of conduct - report abuse