package.json in angular not updated when install package

Viewed 1772

When I try to installing a new package with npm install [package name] --save why my package.json file is not updated?

this is what I used at my project: 6.4.1 (npm version) and 6.1.4 (angular cli version). enter image description here thanks

1 Answers
npm install --save [package-name]@latest

might do the trick

Related