npm2deb: 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 Debian possible default full paths are:

/usr/bin/npm2deb - from package: npm2deb

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