## Question Authors' Forum

### Error from Jobe sandbox server: Language 'nodejs' is not known

by Peter Sander -
Number of replies: 4

As they say, "worked last year".

Now I'm having issues running nodejs which used to work. This is surely some error in our installation or configuration, but we're running out of ideas...

### Re: Error from Jobe sandbox server: Language 'nodejs' is not known

by Richard Lobb -

The simplest explanation is of course that nodejs is not installed on your Jobe server. Has the Jobe server been upgraded since last year? If so, I think you need to talk to your sysadmins. The standard install instructions include installation of nodejs but perhaps something broke during the install?

The first thing to check is the list of languages supported by your Jobe server. The URL

http:///jobe/index.php/restapi/languages

gives you the current list but if the Jobe server is firewalled (as it should be) you probably can't easily get at that url with a browser. A solution is to run a coderunner Python question with the code

import urllib.request

with urllib.request.urlopen("http://localhost/jobe/index.php/restapi/languages") as infile:


On our new 2022 production server, the output from that is

[["c","9.3.0"],["cpp","9.3.0"],["java","11.0.13"],["nodejs","10.19.0"],["octave","5.2.0"],["pascal","3.0.4"],["php","7.4.3"],["python3","3.9.1"]]


Note that nodejs appears in the third position. What is your output?

If nodejs is missing, the bash command

sudo apt-get install nodejs

should install it. But note that after installing you will need to reboot the server to rebuild the language cache file.

### Re: Error from Jobe sandbox server: Language 'nodejs' is not known

by Peter Sander -
Here's the result of running your Python question:

import urllib.request
with urllib.request.urlopen("http://localhost/jobe/index.php/restapi/languages") as infile:

Got
[["c","9.3.0"],["cpp","9.3.0"],["java","11.0.2"],["nodejs","16.13.2"],["octave","5.2.0"],["pascal","3.0.4"],["php","7.4.3"],
["python2","2.7.18"],["python3","3.8.10"]]

So it seems that nodejs is installed, although a different version from yours.