JavaScript — const jsdom = require("jsdom") — Error

Re: JavaScript — const jsdom = require("jsdom") — Error

von Richard Lobb -
Anzahl Antworten: 0

Most coderunner-supported languages allow you to run bash commands. For example, in a Python3 question you could submit an answer like

import subprocess
subprocess.run('npm ls', shell=True)

However, the default Jobe install does not include npm - just a bare-bones nodejs. So you will need to install it first on your Jobe server before adding jsdom.