socket.io (node.js)에 문제가 있습니다. serverNode.js라는 시작 스크립트가 있습니다. 스크립트는 다른 컴퓨터에서 작동하지만 내 컴퓨터에서 실행하려고하면 아무 것도하지 않습니다.Socket.io가 시작되지 않음
작동 코드
C:\Users\User>cd c:\nodejs
c:\nodejs>node serverNode.js
info - socket.io started
debug - client authorized
info - handshake authorized C9uBAi24armt4EdA91hS
debug - setting request GET /socket.io/1/websocket/C9uBAi24armt4EdA91hS
debug - set heartbeat interval for client C9uBAi24armt4EdA91hS
debug - client authorized for
debug - websocket writing 1::
debug - client authorized
내 컴퓨터에서 실행되는 코드
Microsoft Windows [Versión 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Reservados todos los derechos.
C:\Users\amorillas>cd c:/nodejs
c:\nodejs>node serverNode.js
_
미리 감사드립니다 그리고 난 당신이 날 :)
'npm install socket.io'을 실행 했습니까? – Curious
네, 그랬습니다. socket.io를 설치하지 않으면 오류가 표시됩니다. 하지만 아무 것도 보여주지 않습니다. – user3567975
당신은'serverNode.js' 내용을 보여줄 수 있습니까? – Curious