In the same git repository, if I remove node_modules and package-lock.json , I expect that running npm install should generate the same package-lock.json every time (send or receive several modules that can get updated by the publisher in the interim period.
What I find is that I get significantly different files depending on whether I run this on an OSX machine compared to a Linux machine.
Can this be expected? If so, what is the value of package-lock.json , since it will be invalid on one of these systems. If not, what could happen here?
source share