i am getting errors while updating nodejs on centos
file /usr/lib/nodemodules/npm/nodemodules/npmlog/nodemodules/are-we-there-y et/package.json conflicts between attempted installs ...
It looks like you have packages that are conflicting with new version of nodejs.
Try running the command below to remove all nodejs packages:
yum remove node*
And then install nodejs again.
sudo yum install nodejs npm