escodegen.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/bin/escodegen.js - from package: nodejs-escodegen
/usr/lib/node_modules/escodegen/bin/escodegen.js - from package: nodejs-escodegen

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