Having issues with Updating

The more comprehensive version of @strit’s comment

Installing node packages using sudo npm install is as prone to conflicts as doing the same thing with python packages and sudo pip.

This should be avoided.

You can use nvm to manage your node - all stored in your home (this is opinionated - but I have never had issues with it)

2 Likes