Este es el error mientras ejecuto desde el símbolo del sistema de Node.js:

Este es el error mientras ejecuto Power Shell o CMD:

Este es el archivo de error de power shell while command - "node myfirst.js":

Código:
var http = require('https'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/html'}); res.end('Hello World!'); }).listen(8080);Error:
asd.js : The term 'asd.js' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + asd.js + ~~~~~~ + Category Info : ObjectNotFound: (asd.js:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundExceptionPara ejecutar su script node.js, escriba node <filename> , en su caso: node ast.js
El error https://i.stack.imgur.com/llqlm.png indica que hay un conflicto de puertos, otro proceso ya usa el puerto 8080.
Para solucionarlo, elimine el proceso que usa el puerto 8080, o simplemente use otro puerto:
var http = require('https'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/html'}); res.end('Hello World!'); }).listen(9999); // another port