Before
$ rm package-lock.json && npm i
npm notice created a lockfile as package-lock.json. You should commit this file.
npm notice optional SKIPPING OPTIONAL DEPENDENCY: c@file:../c (node_modules/c):
npm notice notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for c@1.0.0: wanted {"os":"win32","arch":"any"} (current: {"os":"darwin","arch":"x64"})
After
$ rm package-lock.json && npm i
npm notice created a lockfile as package-lock.json. You should commit this file.
$ rm package-lock.json && npm i --loglevel info
npm info it worked if it ends with ok
npm info using npm@5.0.4
npm info using node@v8.1.0
npm info lifecycle d@1.0.0~preinstall: d@1.0.0
npm info linkStuff d@1.0.0
npm info lifecycle d@1.0.0~install: d@1.0.0
npm info lifecycle d@1.0.0~postinstall: d@1.0.0
npm info lifecycle d@1.0.0~prepublish: d@1.0.0
npm info lifecycle d@1.0.0~prepare: d@1.0.0
npm info lifecycle undefined~preshrinkwrap: undefined
npm info lifecycle undefined~shrinkwrap: undefined
npm notice created a lockfile as package-lock.json. You should commit this file.
npm info lifecycle undefined~postshrinkwrap: undefined
npm info optional SKIPPING OPTIONAL DEPENDENCY: c@file:../c (node_modules/c):
npm info notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for c@1.0.0: wanted {"os":"win32","arch":"any"} (current: {"os":"darwin","arch":"x64"})
npm info ok