Meteor: App does not work on 0.9.1.1 version

风流意气都作罢 提交于 2019-12-11 04:01:51

问题


Getting errors like

[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:


do meteor remove iron-router and after that meteor add iron:router which solved my problem. suggested by https://stackoverflow.com/a/25721887/565557



来源:https://stackoverflow.com/questions/25727318/meteor-app-does-not-work-on-0-9-1-1-version

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!