Friday, 1 February 2019

package-lock.json changes between machines/environments?

I have two machines running Node v10.15.0 LTS, one is a Mac, the other is a PC running linux.Whenever I do an npm install it makes changes to the package-lock.json. In the package-lock.json it appears to add "optional": true for some dependencies.Is this normal? I suspect it has something to do with the environments? Is there a solution where I don't need to constantly recommit changes to the lockfile?

Submitted February 02, 2019 at 04:06AM by AnyConcept9

No comments:

Post a Comment