strip-ansi: 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

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/strip-ansi - from package: nodejs-strip-ansi

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