npm WARN config global --global, --local are deprecated. Use --location=global instead.
I am new to programming and im learning node.js but every time I use npm the above mentioned error appears. I am following tutorial from pluralsight. I get following error when I try to install using npm.