alınıyor ben first.js
Microsoft JScript derleme hatası
var http = require("http");
http.createServer(function (request, response) {
// Send the HTTP header
// HTTP Status: 200 : OK
// Content Type: text/plain
response.writeHead(200, {'Content-Type': 'text/plain'});
// Send the response body as "Hello World"
response.end('Hello World\n');
}).listen(8124);
// Console will print the message
console.log('Server running at http://127.0.0.1:8124/');
ile kod parçası çalıştırın. ancak node js komutu ile komut veren microsoft jscript derleme hatası.
node.js yanlış bir tercüman kullanarak komut çalıştıran böylece JScript ile ilgisi yoktur. – user3173842