Meteor `模板帮助程序中出现异常:TypeError:无法读取属性';未定义';未定义的

Meteor `模板帮助程序中出现异常:TypeError:无法读取属性';未定义';未定义的,meteor,telescope,Meteor,Telescope,我使用望远镜创建了一个站点,但加载时,我在浏览器控制台中收到了这条错误消息。如何修复此错误 Exception in template helper: TypeError: Cannot read property 'undefined' of undefined at Object.Template.avatar.helpers.size (http://localhost:3000/packages/utilities_avatar.js?76304dc56cbb0aaaef4d60

我使用望远镜创建了一个站点,但加载时,我在浏览器控制台中收到了这条错误消息。如何修复此错误

Exception in template helper: TypeError: Cannot read property 'undefined' of undefined
    at Object.Template.avatar.helpers.size (http://localhost:3000/packages/utilities_avatar.js?76304dc56cbb0aaaef4d60c3d930750cea5ac835:96:37)
    at bindDataContext (http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:2880:16)
    at Blaze._wrapCatchingExceptions (http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:1651:16)
    at http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:2928:66
    at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:3476:12)
    at wrapHelper (http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:2927:27)
    at Spacebars.call (http://localhost:3000/packages/spacebars.js?7bafbe05ec09b6bbb6a3b276537e4995ab298a2f:172:18)
    at Spacebars.mustacheImpl (http://localhost:3000/packages/spacebars.js?7bafbe05ec09b6bbb6a3b276537e4995ab298a2f:109:25)
    at Object.Spacebars.mustache (http://localhost:3000/packages/spacebars.js?7bafbe05ec09b6bbb6a3b276537e4995ab298a2f:113:39)
    at Template.avatar.HTML.DIV.class (http://localhost:3000/packages/utilities_avatar.js?76304dc56cbb0aaaef4d60c3d930750cea5ac835:48:82)

浏览你的应用程序,查看模板的名称和帮助程序、事件。可能是
模板.yourtemplate.helper
模板.yourtemplate.event
与您的HTML模板名称不相等

以下是问题的答案: 阅读有关防护的内容,由于变量/key/method丢失而出现问题,因为尚未加载该变量/key/method。它主要是因为它被加载而工作的,但除非它出现在webbrowser上,否则您将收到此错误消息