Meteor - 更新到 v0.9.1 后出现许多错误 [英] Meteor - Many errors after update to v0.9.1

查看:67
本文介绍了Meteor - 更新到 v0.9.1 后出现许多错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在 Meteor 项目上工作了一个月,然后昨天我被要求更新到 Meteor v0.9.1 版本.之后,当我使用 meteor 启动我的应用程序时,它会在客户端控制台上抛出很多错误.他们在这里:

I've been working on a Meteor project for a month then yesterday I was asked to update to the Meteor v0.9.1 version. After that, when I start my app using meteor, it throws a lot of error on the client-side console. Here they are:

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

我尝试了很多方法,但它们都不起作用:(希望你们能帮忙!我将不胜感激.提前致谢!

I have tried many ways but neither of them works :( Hope you guys can help ! I will very appreciated that. Thanks in advanced !

推荐答案

UPDATE我刚刚通过删除 iron-router 包然后安装 iron:router 包解决了我的问题.希望这可以帮助其他人像我一样遇到同样的问题:)

UPDATE I've just solved my problem by removing the iron-router package then install the iron:router package. Hope this helps others have the same problem like me :)

这篇关于Meteor - 更新到 v0.9.1 后出现许多错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆