tap: 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/bin/tap - from package: nodejs-tap

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

On Debian possible default full paths are:

/usr/bin/tap - from package: node-tap

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