问题描述:
浏览器console提示错误TypeError: Meteor.userId is not a function。
原因分析:
通过查看Meteor API文档,可知该函数由包accounts-base 定义,因此需在项目中添加该包。
解决方案:
meteor add accounts-base
Meteor错误:TypeError: Meteor.userId is not a function
原文:http://www.cnblogs.com/dadream/p/4928609.html