我在mrt add router
上收到以下异常/错误: -
events.js:74
throw TypeError('Uncaught, unspecified "error" event.');
^
TypeError: Uncaught, unspecified "error" event.
at TypeError (<anonymous>)
at WebSocket.EventEmitter.emit (events.js:74:15)
at Receiver.self._receiver.onerror (/usr/local/lib/node_modules/meteorite/node_modules/ddp/node_modules/ws/lib/WebSocket.js:566:10)
at Receiver.error (/usr/local/lib/node_modules/meteorite/node_modules/ddp/node_modules/ws/lib/Receiver.js:301:8)
at Receiver.processPacket (/usr/local/lib/node_modules/meteorite/node_modules/ddp/node_modules/ws/lib/Receiver.js:215:43)
at Receiver.add (/usr/local/lib/node_modules/meteorite/node_modules/ddp/node_modules/ws/lib/Receiver.js:93:24)
at CleartextStream.firstHandler (/usr/local/lib/node_modules/meteorite/node_modules/ddp/node_modules/ws/lib/WebSocket.js:524:22)
at CleartextStream.EventEmitter.emit (events.js:95:17)
at CleartextStream.<anonymous> (_stream_readable.js:736:14)
at CleartextStream.EventEmitter.emit (events.js:92:17)
Meteor版本:0.6.3.1
。陨石版:0.4.6
。节点版本:0.10.9
。
我不确定哪里出了什么问题。有什么想法吗?
答案 0 :(得分:0)
节点0.10.9有几个问题。我不确定这会有所帮助,但请按照https://github.com/oortcloud/meteorite/issues/135
的建议mrt add router --repoPort=80
进行尝试