Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/meteor/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Templates Meteor-更新到v0.9.1后出现许多错误_Templates_Meteor_Undefined - Fatal编程技术网

Templates Meteor-更新到v0.9.1后出现许多错误

Templates Meteor-更新到v0.9.1后出现许多错误,templates,meteor,undefined,Templates,Meteor,Undefined,我在一个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 Unca

我在一个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

我已经尝试了很多方法,但都不管用:(希望你们能帮上忙!我会非常感激的。感谢您的帮助!

这是0.9.1的一个已知问题,并且是Meteor团队发布的一个修复程序。更新到0.9.1.1应该可以解决这个问题

更新
我刚刚通过删除
iron router
软件包解决了我的问题,然后安装
iron:router
软件包。希望这能帮助其他像我一样有同样问题的人:)

你的js文件中有一些相关路径吗?没有。。当我问我的一位朋友,他今天刚刚更新到v0.9.1,他遇到了同样的问题:(我遇到了同样的问题,这似乎解决了它。感谢您的分享,不要忘记接受您自己的答案。)