- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我已将我的 firebase 链接到我的项目,以便将其用于 Google 身份验证,但这个问题不断出现。
import firebase from "firebase/app";
import "firebase/firestore";
import "firebase/auth";
const config = {
apiKey: "************************",
authDomain: "********************",
projectId: "****************",
storageBucket: "***********************,
messagingSenderId: "*************************",
appId: "******************************",
measurementId: "******************",
};
firebase.initializeApp(config);
export const auth = firebase.auth();
export const firestore = firebase.firestore();
const provider = new firebase.auth.GoogleAuthProvider();
provider.setCustomParameters({ prompt: "select_account" });
export const signInWithGoogle = () => auth.signInWithPopup(provider);
export default firebase;
最佳答案
只是在您的 package.json 文件中找出问题检查以查看您使用的是哪个版本的 firebase。如果您有 firebase 版本:8.6.4,请使用 npm uninstall firebase
卸载。然后使用 npm install firebase@8.6.3
关于javascript - 尝试导入错误 : 'FetchXmlHttpFactory' is not exported from '@firebase/webchannel-wrapper' (imported as 'v' ),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67829565/
与 Qt WebKit Bridge 不同,我找不到使用 Qt WebChannel 在 JS 端 使用同步函数调用。 有什么办法吗? 最佳答案 我觉得没有办法。文档中说:QWebChannel No
是否可以在没有 websockets 的情况下使用 QT QWebChannel,但使用 WebKit ICP?我只找到了使用 webSockets 的示例。 最佳答案 不幸的是,documentat
因此,我最近将 angularfire2 更新到了最新最好的版本,但遇到了一些问题。我按照 angularfire2 开发人员指南安装了项目,但仍然出现以下错误: [18:57:50] ionic-
我想向 JS 公开一些 C++ 对象。到目前为止,我已经使用修饰符 Q_OBJECT Q_POPERTY Q_INVOKABLE 等将对象正确暴露给 QML。该部分工作正常。 当然,在 C++ 方面,
我已将我的 firebase 链接到我的项目,以便将其用于 Google 身份验证,但这个问题不断出现。 import firebase from "firebase/app"; import "fi
对于桌面(Windows、Mac、Ubuntu),有一个QWebEngineView,对于移动设备(Android、iOS),有一个原生的QWebView。 不幸的是,mobiles don't su
我创建了简单的 React Native 屏幕,可以将数据存储到 Firestore。我试过下面的代码,但它没有工作,而不是抛出一些错误。任何人都可以帮助我吗? 我的代码: App.js import
我是一名优秀的程序员,十分优秀!