read-package-json.js: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/lib/node_modules/npm/bin/read-package-json.js - from package: npm

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/share/npm/bin/read-package-json.js - from package: npm

You may install the required package with command apt-get install {package}
Error in other languages:
read-package-json.js: bevel nie gevind nie
read-package-json.js: comandă negăsită
read-package-json.js: comando não encontrado
read-package-json.js: commande introuvable
read-package-json.js: command not found
read-package-json.js: käsku ei ole
read-package-json.js: không tìm thấy lệnh
read-package-json.js: komanda nerasta
read-package-json.js: Kommando nicht gefunden.
read-package-json.js: kommandot finns inte
read-package-json.js: komut yok
read-package-json.js: nie znaleziono polecenia
read-package-json.js: níor aimsíodh an t-ordú
read-package-json.js: no se encontró la orden
read-package-json.js: no s'ha trobat l'ordre
read-package-json.js: opdracht niet gevonden
read-package-json.js: parancs nem található
read-package-json.js: perintah tidak ditemukan
read-package-json.js: príkaz nenájdený
read-package-json.js: příkaz nenalezen
read-package-json.js: команда не найдена
read-package-json.js: командата не е открита
read-package-json.js: 命令找不到
read-package-json.js: コマンドが見つかりません