Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

ERROR Error: Uncaught (in promise): NullInjectorError: R3InjectorError(AuthModule)[AuthService -> AuthService -> AngularFirestore -> InjectionToken

//You need to import the old module as a work around, "AngularFireModule.initializeApp(environment.firebase)"


//Example:
import {AngularFireModule} from '@angular/fire/compat'


@NgModule({
  declarations: [
  ...
  ],
  imports: [
    ...
    AngularFireModule.initializeApp(environment.firebase), // here you will put firbase config object
  ],
  providers : [
   ..
  ]
})
export class AuthModule { }
Comment

PREVIOUS NEXT
Code Example
Javascript :: on veiwport reveal javascript 
Javascript :: upsert typeorm 
Javascript :: perl and regular expression for text extraction pdf 
Javascript :: reduce dot notations to javascript array 
Javascript :: how to build a nested, dynamic JSON in Go 
Javascript :: How do I group values to an array for the same field value in jq 
Javascript :: Special Chars like DOTS in Express.js route 
Javascript :: parse json keep the order 
Javascript :: insert image in jsp page 
Javascript :: No enum constant datepicker react native 
Javascript :: using parseint in javascript 
Javascript :: clickable image full screen javascript 
Javascript :: javascript assignment by reference or value 
Javascript :: phaser rotate matrix 180 
Javascript :: jquery attrib 
Javascript :: Declare Function In Class Constructor 
Javascript :: ngx chart how to use in angular 
Javascript :: js a || b 
Javascript :: javascript palindrome check 
Javascript :: save to text or html file very good 
Javascript :: square brackets javascript object key 
Javascript :: Update A Request() Property 
Javascript :: mul function call to 3 functions 
Javascript :: use spread operator in max method javascript 
Javascript :: how to close bootstrap modal after save 
Javascript :: adding javascript object within array in the middle position 
Javascript :: 2d array js 
Javascript :: convert milliseconds to dd/mm/yyyy javascript 
Javascript :: electron js execute command line 
Javascript :: nodejs convert string to date 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =