0
나는 MongoDB course에 따라 다음과 기본 노드에 온거야 안녕하세요 세계 서버 자습서를 만들 때 :노드 ' n을'오류 로컬 호스트 서버를
8000 그래서 나는 아래의 코드를 입력하고 나는 그것을 실행하려고 할 때, 다음과 같은 오류로 실행 :
var http = require('http');
var server = http.createServer(function (request, response) {
response.writeHead(200, {"Content-Type": "text/plain"});
response.end("Hello, World"\n);
});
server.listen(8000);
console.log("Server running at http://localhost:8000");
\ n 잘 다루어지면 선생님이 어떻게하면 오류없이 작업 할 수 있을까요?
아 감사합니다! 그는 달리기 전에 수정해야합니다. –