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

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