You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.
I was hoping there would be a way to get the node version via node --version, but that command is unavailable. So instead I figured I would log the version number off of the process variable, but this code fails to render (it just hangs up):
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.write("Hello World from node v" + process.version + "\n");
res.end();
}).listen();
Ideally a tool look this would have a selectable node version and ability to use flags as well, but in the very least it would be good to know what version of node I am working with
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I was hoping there would be a way to get the node version via
node --version
, but that command is unavailable. So instead I figured I would log the version number off of the process variable, but this code fails to render (it just hangs up):Ideally a tool look this would have a selectable node version and ability to use flags as well, but in the very least it would be good to know what version of node I am working with
The text was updated successfully, but these errors were encountered: