I was shown this when I was installing dependencies for a project:
Update available 5.7.1 → 5.8.0 │
│ Run npm i npm to update
Then I did this:
$ npm i npm
npm WARN react-hot-api@0.4.7 requires a peer of react@>=0.11.0 || ^0.14.0-rc but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ npm@5.8.0
added 523 packages from 726 contributors in 12.75s
But why is it still the old version?
$ npm --version
5.7.1