Skip to content

Tag: npm

Can’t install latest angular cli on ubuntu

I’m trying to install angular via ubuntu. When I type the version commande node -v I get v12.14.1 Then I try to install npm package sudo npm install -g @angular/cli I get a warning npm WARN npm npm does not support Node.js v10.15.2 ng version I get angular-cli: 1.0.0-beta.28.3 The npm version is 6.13.4 …

npm seems not to be updated after updating

I update npm, it is successfully finished. However, if I ask npm’s version, it still gives the old version: I also tried many other ways to update npm, for all of them it seems to be updated but if I run npm -v I still get the old version. Restarting machine, cleaning cache etc. does not help. If I run