Meteor:App不适用于0.9.1.1版本

时间:2014-09-08 15:03:46

标签: javascript meteor iron-router

获取

等错误
[Error] TypeError: 'undefined' is not a function (evaluating 'Template.__create__')
    (anonymous function) (iron-dynamic-template.js, line 416)
    (anonymous function) (iron-dynamic-template.js, line 433)
[Error] TypeError: 'undefined' is not an object (evaluating 'Parent.prototype')

[Error] TypeError: 'undefined' is not a constructor (evaluating 'new Iron.Layout({template: this.options.layoutTemplate})')

[Error] ReferenceError: Can't find variable: Template

[Error] ReferenceError: Can't find variable: Template

1 个答案:

答案 0 :(得分:4)

执行meteor remove iron-router之后meteor add iron:router解决了我的问题。由https://stackoverflow.com/a/25721887/565557

建议