gyp: 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/gyp - from package: gyp

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

On Debian possible default full paths are:

/usr/bin/gyp - from package: gyp

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