Hello,

i need to install node.js and npm (package installer). I found node.js, but not npm, npm is not installed with node.js. Now I installed nodejs direct from the webpage and it comes with npm. But now pacman dont want to update node.js (files exists). How can I have a clean installation to avoid this kind of problems? An idea???

Thanks

Rafael

Make sure to update, one version of nodejs did not have npm included, current version has it again.

See the file listing (scroll way down to /usr/bin section):

On a rolling distro (as you now see), do not just install from any place, make sure to always use the package manager so all files are tracked and no conflicts occur with files not owned by any.

You can use NVM to install node on your home folder without mess the system. Also allows to use varios versions at the same time