Thursday 15 September 2011

meteor - App is broken after 0.9.4 update: undefined is not a function in dynamic_template.js:371 -



meteor - App is broken after 0.9.4 update: undefined is not a function in dynamic_template.js:371 -

i had meteor 0.9.3 app working.

i ran meteor update. have bunch or errors (60 total):

uncaught typeerror: undefined not function dynamic_template.js:371 uncaught typeerror: cannot read property 'prototype' of undefined helpers.js:140 uncaught typeerror: undefined not function router.js:61 uncaught typeerror: cannot read property 'routecontroller' of undefined iron-router-progress.js?2b52a697e5a2fba4ec827721c08cfdd0a5bae508:25 uncaught typeerror: cannot read property 'routecontroller' of undefined global-imports.js?a26cc176b56b3d2b1df619ec7af99630b0fb6a1f:3 uncaught referenceerror: template not defined template.about.js?3ead3e2cab8a60252235e31f2533c2179f736294:2 uncaught referenceerror: template not defined template.register.js?60e4180bd0193951fab290d41493f5036f66240d:2 ... 53 more errors: ... "template not defined" , "meteor not defined"

line 371 of dynamic_template.js following:

ui.registerhelper('dynamictemplate', template.__create__('dynamictemplatehelper', function () {

what's wierd if seek go meteor update --release 0.9.3 or 0.9.2, still have errors. i'm stuck, have prepare those.

another anoying thing everytime start meteor server, updating bundle catalog progress bar, , server takes while (~10s) start up.

any ideas?

in 0.9.4 there changes templating api. see history.md on gihub/meteor/meteor more details.

the prepare immediate problem replace ui template

template.registerhelper('dynamictemplate', template.__create__('dynamictemplatehelper', function () {

meteor meteor-0.9.4

No comments:

Post a Comment