获取
等错误[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
答案 0 :(得分:4)
执行meteor remove iron-router
之后meteor add iron:router
解决了我的问题。由https://stackoverflow.com/a/25721887/565557