The Express res.send() method only accepts one argument for the response body, unlike console.log which can take multiple.
res.send()
Correct it to below line:
app.get('/', (req, res) => res.send('Hello from ' + require("os").hostname()))