自最新的流星更新(0.8.1.3)以来我不再使用accounts-facebook了。我设置了整个事情,就像我通常做的那样,但是在从facebook重定向到我的meteor应用程序后,我在流星日志中得到以下异常:
W20140528-15:12:02.762(2) (oauth_server.js:104) Error in OAuth Server while storing pending login result.
TypeError: Object function (document)
{
_.extend(this, document);
this.id = document._id;
} has no method 'Optional'
at Object.OAuth._storePendingCredential (packages/oauth/pending_credentials.js:45)
at middleware (packages/oauth/oauth_server.js:100)
at packages/oauth/oauth_server.js:62
降级到早期版本并没有帮助。有没有人注意到之前的错误?
答案 0 :(得分:1)
嗯,用pojo覆盖Meteor wide函数不是一个好主意:)现在一切正常了!