nodeunit.json: 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/nodeunit/bin/nodeunit.json - from package: nodeunit
/usr/share/nodeunit/bin/nodeunit.json - from package: nodeunit

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