npm lock-file changes without installing any package

1.5k views Asked by At

Currently, I have a small issue with package-lock file between difference OS system(Mac OS / Linux)

My colleague and me use makefile to run project and the contained commend is only npm install and npm run start, however when we run a project, the package-lock file has been changed. please refers the image below.

Example

enter image description here

I read the official document but couldn't find related answer. I slightly suspect this might come from the OS difference, but not sure about it.

Does anyone know why this un-wanted changing occurs?

Thank you!

Version:

         me    |   colleagu
node. v16.14.2 | v17.6.0
npm. v8.5.5    | v8.5.1
0

There are 0 answers