我已经在 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
我尝试了很多方法,但都不起作用。
我刚刚通过删除解决了我的问题iron-router
包然后安装iron:router
包裹。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)