启动默认Meteor应用程序时出错

时间:2015-09-22 12:43:04

标签: meteor

当我启动全新的默认Meteor应用程序时,我开始收到错误。

$ meteor --version
   流星1.2

以下是我在Mac OS 10.10.5上重现的步骤:

  1. 重新启动计算机,打开终端窗口并运行...
  2. $ meteor create test
  3. $ cd test
  4. $ meteor
  5. http://localhost:3000
  6. 打开浏览器窗口

    服务器错误:

    => App running at: http://localhost:3000/
    Internal exception while processing message { msg: 'connect',
      version: '1',
      support: [ '1', 'pre2', 'pre1' ] } Cannot read property '_CurrentInvocation' of undefined TypeError: Cannot read property '_CurrentInvocation' of undefined
        at withoutInvocation (packages/meteor/packages/meteor.js:404:1)
        at bindAndCatch (packages/meteor/packages/meteor.js:414:1)
        at Object._.extend.setInterval (packages/meteor/packages/meteor.js:441:1)
        at [object Object]._.extend._startHeartbeatIntervalTimer (packages/ddp-common/packages/ddp-common.js:71:1)
        at [object Object]._.extend.start (packages/ddp-common/packages/ddp-common.js:66:1)
        at new Session (livedata_server.js:312:20)
        at [object Object]._.extend._handleConnect (livedata_server.js:1427:29)
        at livedata_server.js:1356:18
    

    浏览器错误:

    Uncaught TypeError: Cannot read property '_CurrentInvocation' of undefinedwithoutInvocation @ meteor.js:407bindAndCatch @ meteor.js:417_.extend.setInterval @ meteor.js:444_.extend._startHeartbeatIntervalTimer @ ddp-common.js:71_.extend.start @ ddp-common.js:66_.extend._livedata_connected @ ddp-client.js:4158onMessage @ ddp-client.js:3310(anonymous function) @ ddp-client.js:2704_.each._.forEach @ underscore.js:134_.extend._launchConnection.self.socket.onmessage @ ddp-client.js:2703REventTarget.dispatchEvent @ ddp-client.js:143SockJS._dispatchMessage @ ddp-client.js:1128SockJS._didMessage @ ddp-client.js:1186SockJS.websocket.that.ws.onmessage @ ddp-client.js:1333
    meteor.js:862 Received error from server:  Must connect first
    meteor.js:864 For:  Object {msg: "sub", id: "ARDnnLu2X7G7WfWgx", name: "meteor_autoupdate_clientVersions", params: Array[0]}id: "ARDnnLu2X7G7WfWgx"msg: "sub"name: "meteor_autoupdate_clientVersions"params: Array[0]length: 0__proto__: Array[0]__proto__: Object
    

    该应用程序似乎正常运行。这个错误意味着什么?

1 个答案:

答案 0 :(得分:1)

运行meteor update将Meteor更新为版本1.2.0.1

详细了解此screenshot