thelifeisnth
thelifeisnth

Reputation: 81

Npm packages are not updated

Command: npm outdated -g

Package            Current  Wanted  Latest  Location
eslint               6.8.0   6.8.0  7.17.0  vue-movies-app
eslint-plugin-vue    6.2.2   6.2.2   7.4.1  vue-movies-app
sass-loader          8.0.2   8.0.2  10.1.1  vue-movies-app
webpack             4.46.0  4.46.0  5.14.0  vue-movies-app

And i tried, sudo npm update -g npm update -g [email protected]

But nothing changed? How is possible?

Upvotes: 0

Views: 316

Answers (1)

Zac Anger
Zac Anger

Reputation: 7747

This has been broken on and off for years, it's not just you. There's a tool to this, or you can do it with a little bit of scripting, for example npm outdated -g | cut -d' ' -f1 | sed 1d | xargs npm i -g

Upvotes: 1

Related Questions