$ sudo urpmi npm-3.10.10-2.mga6 installing npm-3.10.10-2.mga6.x86_64.rpm from /share/pub/linux/Mageia/cauldron/x86_64/media/core/release Preparing... ################################################################# 1/1: npm ################################################################# $ rpm -qls npm-3.10.10-2.mga6 normal /usr/bin/npm $ rehash $ /usr/bin/npm zsh: no such file or directory: /usr/bin/npm
My fault. I tried to install NPM@5 after an email from npmjs.org and it lead to a defunct directory resulting in npm being unavailable. Fixed it by installing npm 5.0.3 manually and moving the npm directory I downloaded to /usr/lib/node_modules/
Status: NEW => RESOLVEDResolution: (none) => INVALID