> I deleted all cache on my local environment, all node_modules references, all lock files.
Were the lock files not checked into version control? It sounds like the problem was that different environments had different versions of dependencies, which is what lock files are meant to solve.