What I Wanted to Do
I want to run npm install without it adding optional true to package-lock.json.
What Happened Instead
In development on mac it doesn’t add optional true, but in production on linux, it adds this.
This issue has already been recognized, just trying to follow up on it.
Dev: Mac, Prod: Ubuntu
$ npm --versions 6.4.1 $ node -p process.platform dev: darwin prod: linux