更新到1.2后,Meteor和Template未定义

时间:2015-09-22 19:56:33

标签: meteor

刚刚将我的项目升级到1.2并运行它,突然我的控制台输出看起来像这样。

enter image description here

我尝试添加/删除一些软件包,但似乎没有任何工作,我似乎无法想到我可能因迁移而导致的任何兼容性问题。

这里也是我的包裹清单

accounts-password        1.1.3  Password support for accounts
blaze-html-templates     1.0.1  Compile HTML templates into reactive UI with  Meteor Blaze
check                    1.0.6  Check whether a value matches a pattern
dburles:google-maps      1.1.4  Google Maps Javascript API v3
ejson                    1.0.7  Extended and Extensible JSON library
iron:router              1.0.9  Routing specifically designed for Meteor
jquery                   1.11.4  Manipulate the DOM using CSS selectors
logging                  1.0.8  Logging facility.
materialize:materialize  0.97.1  Materialize (official): A modern responsive    front-end framework based on Material Design
meteor-base              1.0.1  Packages that every Meteor app needs
mobile-experience        1.0.1  Packages for a great mobile user experience
momentjs:moment          2.10.6  Moment.js (official): parse, validate,   manipulate, and display dates - official Meteor packaging
mongo                    1.1.1  Adaptor for using MongoDB and Minimongo over DDP
random                   1.0.4  Random number generator and utilities
reload                   1.1.4  Reload the page while preserving application state.
rzymek:fullcalendar      2.3.1  Full-sized drag & drop event calendar (jQuery plugin)
session                  1.1.1  Session variable
spacebars                1.0.7  Handlebars-like template language for Meteor
standard-minifiers       1.0.0  Standard minifiers used with Meteor apps by     default.
tracker                  1.0.8  Dependency tracker to allow reactive callbacks

1 个答案:

答案 0 :(得分:7)

与最新版本的materialize:materialize@0.97.1相关的问题打破了整个Meteor应用程序。

https://github.com/Dogfalo/materialize/issues/2037

在修复程序可用之前,您必须坚持使用0.97.0版本:

meteor remove materialize:materialize
meteor add materialize:materialize@=0.97.0

即使您@=meteor update语法也会强制Meteor保留此版本。