Again, it's not the package management system that is the problem, it's the module loader in node.js.
And it's easy to say "even a naive attempt by the average developer" would do it better, but I really don't think they would have.
Still, the fact is that this is what we have, and complaining about what could have been isn't going to do anyone any good, improving the system will.