Node.js出于某种原因崩溃了

时间:2016-02-01 16:35:14

标签: javascript node.js

所以我得到了这个错误:

[18:12:49:550] Message: "SEND items to user."
confirmTrade() received 1 confirmations
confirmTrade(): true
[18:13:8:154] Message: "Send all game number, jackpot 0"
[18:13:8:155] Message: "Starting to send informers for each socket"
[18:13:8:163] Message: "Send all "start-game""
undefined:1
<!doctype html>
^
SyntaxError: Unexpected token <
    at Object.parse (native)
    at Request._callback (/home/bot/bot.js:476:20)
    at Request.self.callback (/home/bot/node_modules/request/request.js:354:22)
    at Request.emit (events.js:110:17)
    at Request.<anonymous> (/home/bot/node_modules/request/request.js:1207:14)
    at Request.emit (events.js:129:20)
    at IncomingMessage.<anonymous> (/home/bot/node_modules/request/request.js:1153:12)
    at IncomingMessage.emit (events.js:129:20)
    at _stream_readable.js:908:16
    at process._tickCallback (node.js:355:11)

有什么想法吗?

1 个答案:

答案 0 :(得分:0)

好像你试图用Node.js运行一个html文件。唐&#39;吨