This might be a silly question, but I really wanted to know is there any way to see only the errors / success logs while running the npm install
command by removing details of entire package installation details.
Is there any helpful optional arguments which we can pass along with npm install
command which will give only the minimal logs without detailed description of each every dependency installation ?
Yeah, of course, there is.
Try
npm install -s (or --silent)
or
npm install -q (or --quiet)
See this issue on github.
If you are lazy (pick one):
--silent
flag.npm config set loglevel warn
. This will print warnings and errors.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With