Meteor - 更新到v0.9.1后的许多错误

son*_*xqt 3 templates undefined meteor

我一直在研究Meteor项目一个月,然后昨天我被要求更新到Meteor v0.9.1版本.之后,当我使用启动我的应用程序时meteor,它会在客户端控制台上引发很多错误.他们来了:

Uncaught TypeError: undefined is not a function iron-dynamic-template.js:416
Uncaught TypeError: Cannot read property 'prototype' of undefined helpers.js:139
Uncaught TypeError: undefined is not a function router.js:61
Uncaught TypeError: Cannot read property 'RouteController' of undefined global-imports.js:3
Uncaught ReferenceError: Template is not defined template.layout.js:2
Uncaught ReferenceError: Template is not defined template.header.js:2
Uncaught ReferenceError: Template is not defined template.404.js:2
Uncaught ReferenceError: Meteor is not defined meteor-streams.js:1
Uncaught ReferenceError: Router is not defined route.js:1
Uncaught ReferenceError: Template is not defined layout.js:1
Uncaught ReferenceError: Template is not defined header.js:1
Uncaught TypeError: undefined is not a function about.js:2
Uncaught ReferenceError: Template is not defined chat_box.js:1
Uncaught ReferenceError: Template is not defined chat_rooms.js:1
Uncaught ReferenceError: Template is not defined user_profile.js:1
Uncaught ReferenceError: Meteor is not defined messages.js:1
Uncaught ReferenceError: Meteor is not defined rooms.js:1
Uncaught ReferenceError: Meteor is not defined utilities.js:1
Uncaught ReferenceError: TypingUsersStream is not defined main.js?ddb2df78e0fe11ef747b14020685864d14f8bd03:5
Uncaught ReferenceError: Spacebars is not defined login_buttons_dialogs.html:4
Run Code Online (Sandbox Code Playgroud)

我尝试了很多方法,但它们都不起作用:(希望你们能帮忙!我会非常感激.谢谢你的进步!

son*_*xqt 8

更新 我刚刚解决了我的问题,删除iron-router包然后安装iron:router包.希望这有助于其他人像我这样的问题:)