4 ms·
Are you familiar with npm? I haven’t used it deeply in years, but the last time I checked it still supported conflicting dependencies. If A and B both depend o
by jhardy54 4y ago
Are you familiar with npm? I haven’t used it deeply in years, but the last time I checked it still supported conflicting dependencies.
If A and B both depend on different versions of C, then both versions of C are installed and A/B see the version they want.
- mypalmike 4y agoI've used npm but an not familiar with these kinds of details of it. There would seem to be some potential putfalls, such as two libraries accessing a single system resource (a config file, a system socket, etc.). I will take a look into this though. Thanks.
- fiddlerwoaroof 4y agonpm works around some problems like this with a concept of "peer dependencies" which are dependencies that can only be depended on once. The typical dependency, though, is scoped to the package that requires it.