我用这个简单的代码财产“交流”在我的web应用程序认证火力地堡类型错误:无法读取的不确定
firebase.auth().signInWithCustomToken(token).catch(function(error) {
// Handle Errors here.
var errorCode = error.code;
var errorMessage = error.message;
// ...
});
验证我得到我的浏览器下面的错误后:“火力地堡类型错误:无法读取属性未定义的'交流”,这似乎指向这里的错误:
h.set = function(a, b, c) {
var d = this.aa(a, c)
, e = this
, f = Si(this, a.B);
return f.set(d, b).then(function() {
return f.get(d)
}).then(function(b) {
"local" != a.B || this.ac || (e.W[d] = b);
})
}
;
我使用的汇总和布雷编译器ES6我的代码。另外请注意,在服务器响应,它看起来像我成功进行身份验证。
因为我得到了以下回应:
{
"kind": "identitytoolkit#VerifyCustomTokenResponse",
"idToken": "token",
"refreshToken": "refreshtoken",
"expiresIn": "3600"
}
请帮助。谢谢。
我认为这可能会有所帮助,但问题是我正在使用汇总和布雷,并且链接只响应如何在babel中执行此操作 –