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

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