3 ms·
NPM's way of managing dependencies still can waste a day or two (or more) of your time. For example, get a C object from B, then pass it into A. Things are eve
by No1 13y ago
NPM's way of managing dependencies still can waste a day or two (or more) of your time.
For example, get a C object from B, then pass it into A.
Things are even more twisted when you have a half dozen versions of C floating around in your node_modules, and the problem isn't in your code, but a dependency of a dependency.
Another issue I've run into is patching a bug in a module, and then having to figure out how to get that patch into all of the other versions that cropped up in node_modules.
NPM is one way to solve the modules problem, but it's no panacea.