Reputation: 1148
Angular version:
@angular-devkit/architect 0.803.22
@angular-devkit/build-angular 0.803.22
@angular-devkit/build-optimizer 0.803.22
@angular-devkit/build-webpack 0.803.22
@angular-devkit/core 8.3.22
@angular-devkit/schematics 8.3.22
@angular/cli 8.3.22
@angular/fire 5.3.0
@ngtools/webpack 8.3.22
@schematics/angular 8.3.22
@schematics/update 0.803.22
rxjs 6.4.0
typescript 3.5.3
webpack 4.39.2
1.What does 'Server Error. certificate has expired' mean?
2. How can I fix it?
~~~~EDIT~~~~
This issue might be related since it started happening at the same time : Why is angular fire saying I'm not logged in even though firebase tools says I am?
Here is a picture of the error:
Upvotes: 8
Views: 928
Reputation: 4709
For me I kept getting the schematics error with ng add @angular/fire
, so I had to work around it with:
npm uninstall @angular/fire
then npm i @angular/fire
... otherwise it didn't work.
Upvotes: -1
Reputation: 7949
This could be issue due to older version of Firebase CLI .
Try this command first npm i -g firebase-tools@latest
and then run ng add @angular/fire
Upvotes: 5