When trying to \'ng serve\' after configuring angular with firebase, I got the error. Even though I googled this error message but could not find anything. In the error message,
This error is due to TypeScript type checking the definitions file of the AngularFire library.
Notice the errors are from node_modules/@angular/fire/angularfire2.d.ts:37:49
.
To avoid this error you have to set some options in tsconfig.json
.
tsconfig:
{
//...
compilerOptions: {
"skipLibCheck": true,
//...
}
}
skipLibCheck
: Skip type checking of declaration files.
More info on the skipLibCheck option.
{
//...
compilerOptions: {
"skipLibCheck": true,
//...
}
}
this solution not advisable, its may give some build time error, i got error while build with SSR, i can suggest you to update "rxjs": ,if your are using * version then update it to 9