The only thing that seems clear is that post about committing the whole node_modules folder to git was correct. Despite all the ridicule HN gave it.
It can be a little tricky to get working with some tools, but it is very fast and doesn't take up as much repo space as you'd expect since the approach is much more efficient than node_modules.
Other languages require you to run a cache and set proxy config up for the builders