run npm update -g as sudo

Since it is updating global packages