Jobe couldn't find node.js - resolved

Jobe couldn't find node.js - resolved

by Lisa Carpenter -
Number of replies: 0

I've resolved my issue but wanted to share the resolution in case others have the same issue. 

We updated node.js to resolve some issues with some syntax not working because we were running an old version of nodejs. 

This took nodejs off of our installed languages in Jobe, despite it being very much installed. 

I found that our issue was in the application/libraries/nodejs_task.php file:


    public static function getVersionCommand() {
        return array('nodejs --version', '/v([0-9._]*)/');

    public function getExecutablePath() {
         return '/usr/bin/nodejs';
     }


updated "nodejs" to "node" and to "/usr/bin/node" for the executable and now we have node.js working again