skip to Main Content

Argument of type 'EnvironmentProviders' is not assignable to parameter of type 'ImportProvidersSource'.ts(2345) in Angular Firebase project

I am working on an Angular project that is deployed on Firebase. All the tutorials about Firebase suggest the following way to store Firebase in the app.config.ts: export const appConfig: ApplicationConfig = { providers: [ importProvidersFrom( provideFirebaseApp(() => initializeApp(environment.firebase)), /*…

VIEW QUESTION

firebase init genkit unsupported

I am following the Genkit with Firebase Cloud Functions tutorial and I'm getting the following error when running firebase init genkit: genkit is not a supported feature; must be one of database, firestore, functions, hosting, hosting:github, storage, emulators, remoteconfig, extensions,…

VIEW QUESTION

Reactjs – How to fix Duplicate class com.google.firebase.Timestamp

FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:checkReleaseDuplicateClasses'. Duplicate class com.google.firebase.Timestamp found in modules jetified-firebase-common-21.0.0-runtime (com.google.firebase:firebase-common:21.0.0) and jetified-firebase-firestore-24.0.0-runtime (com.google.firebase:firebase-firestore:24.0.0) Duplicate class com.google.firebase.Timestamp found in modules jetified-firebase-common-21.0.0-runtime (com.google.firebase:firebase-common:21.0.0) and Duplicate class com.google.firebase.Timestamp found in modules…

VIEW QUESTION
Back To Top
Search