I tried to install a module and found some irregularities. I wish that it is precisely. I found it to be a conflict between /usr/bin/nodejs and usr/bin/npm directories. I tried to install nodejs-legacy but it did not work.
/usr/bin/nodejs
usr/bin/npm
nodejs-legacy