我正在用firebase库v7.15.5构建一个react应用程序,当我导入“firebase/auth”时,它可以正常工作,但它会在终端中发出警告:
WARNING in ./node_modules/@firebase/auth/dist/auth.esm.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'D:\Projects\DeparturesSchedule\node_modules\@firebase\auth\di
我正在用Firebase在Angular上做一个项目。在导入auth和User时,auth.service.ts文件中的Visual Studio代码无法识别它们。 import { auth } from 'firebase/app';
import { User } from 'firebase';
import { AngularFireAuth } from '@angular/fire/auth'
@Injectable()
export class AuthService {
public user:User;
con
我的嵌套firebase.database查询返回一个:
[DEFAULT]: Firebase: No Firebase App '[DEFAULT]' has been created - call Firebase App.initializeApp() (app/no-app).
at error (/user_code/node_modules/firebase/node_modules/@firebase/app/dist/index.node.cjs.js:40:21)
at app (/user_code/node_modules/firebas
我正在构建一个next.js网络应用程序,我想使用防火墙数据库和身份验证。当我在文件中导入firebase时,会发生以下错误:
error - ./firebase.js:1:0
Module not found: Package path . is not exported from package /home/naveen/New Folder/whatsapp-2/node_modules/firebase (see exports field in /home/naveen/New Folder/whatsapp-2/node_modules/firebase/package.json
我收到了错误的盖茨比开发。它非常类似于这个版本:,但我收到了gatsby开发的错误,而不是gatsby构建的错误。我做了很多研究,但找不到有效的解决办法。一开始,我在gatsby构建时遇到了问题,比如在本文中:,但是我用自定义onCreateWebpackConfig解决了这个问题(您可以在下面找到它)。
堆栈:- Gatsby -Firebase(可能出现错误)- Redux
我还删除了.cache和node_modules,并重新安装了所有的东西,但是它没有工作。
误差
There was an error compiling the html.js component for the d
我一直试图使用enableIndexedDbPersistence来启用Vue3网站上的脱机功能,使用docs 中的说明。所有东西都编译得很好,但是应用程序总是在浏览器的控制台日志中抛出一个模糊的错误:
[2022-03-19T13:02:21.945Z] @firebase/firestore: Firestore (9.6.4): INTERNAL UNHANDLED ERROR: Error: Failed to execute 'put' on 'IDBObjectStore': #<Object> could not be cloned
第一个错误:
Namespace '"D:/desktop/Programming/oauthAngular/node_modules/firebase/compat/index"' has no exported member 'User'.
第二个错误:
Type 'import("D:/desktop/Programming/oauthAngular/node_modules/rxjs/dist/types/internal/Observable").Observable<firebase.default.au
我用Nuxt(SSR)和firebase制作了一个简单的web应用程序(防火墙和主机)。它有一些网页,如索引,约,联系和文本编辑器。
当我做npm run build时,它的工作没有问题。但是对于npm run generate,它有如下所示的错误消息:
ReferenceError: navigator is not defined
at Object.areCookiesEnabled (C:\app\node_modules\@firebase\util\dist\index.node.cjs.js:656:5)
at warnOnBrowserContextMismatch (C:\a
如果我使用expo start,我的消防站在世博Go中就能正常工作。但是当我使用expo start --dev-client时,它就停止工作了。我已经尝试过使用使用EAS,但同样的错误也会发生。
以下是错误消息:
@firebase/firestore:, Firestore (8.2.2): Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds.
This typically indicates that your device does not have a he
我试图在网络Javascript上设置使用云消息传递的防火墙,但是我遇到了以下一些错误:
I20210208-15:21:52.756(7)? Exception while invoking method '/microfis_loanRequest/update' ReferenceError: self is not defined
I20210208-15:21:52.758(7)? at isSupported (/Users/rabbit/Desktop/microfis/node_modules/@firebase/messaging/dist/index
我第一次使用了firebase,并且坚持了这个我无法修复的错误。
基本上我有一个主屏幕和一个登录屏幕。当我运行onBeforeMount来检查用户是否登录时,我会得到以下错误:
Uncaught ReferenceError: onAuthStateChanged is not defined
at eval (webpack-internal:///./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0
我正在实施使用firestore的kiosk项目。
信息亭运行的时间很长(超过48小时)。
但是,有时我的firestore onSnapShot侦听器会出现以下错误消息。
[Error message]
FirebaseError: An internal error occurred.
at new FirestoreError(C:\release_pickUp_1210_v15\win-unpacked\resources\app.asar\node_modules\@firebase\firestore\dist\index.node.cjs.js:348:28)
at Js
我只想安装firbase作为数据库,但是得到了这个错误:
ERROR Error: permission_denied at /courses: Client doesn't have permission to access the desired data.
at errorForServerCode (index.cjs.js:647)
at onComplete (index.cjs.js:9114)
at Object.onComplete (index.cjs.js:12681)
at index.cjs.js:11797
at Pe
我有一个Gatsby/firebase项目,工作得很好,并停留了一个星期,没有做任何改变。现在我只是回来更新一些东西,我遇到了以下错误:
index.js:2177 FirebaseError: Missing or insufficient permissions.
at new FirestoreError (http://localhost:8000/commons.js:4331:28)
at JsonProtoSerializer../node_modules/@firebase/firestore/dist/index.esm.js.JsonProtoSeriali
在Angular 10更新后,我有这些关于Firebase和CommonJS或AMD依赖的警告! WARNING in /Users/knewtone/yet/projects/WorkSpace/customers/smart-newtech-dashboard/src/app/app.component.ts depends on 'firebase'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/buil
我在高速公路上有个问题。
当我运行npmRunBuild命令时,会得到以下错误:
WARNING in ./node_modules/aws-crt/dist/native/binding.js 54:18-31
Critical dependency: the request of a dependency is an expression
@ ./node_modules/aws-crt/dist/native/io.js 16:34-54
@ ./node_modules/aws-crt/dist/index.js 40:24-46
@ ./node_modules/@aws-sd