node_g: 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/node_g - from package: nodejs-devel

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