Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

371
Views
Why does @angular/fire show: 'Server Error. certificate has expired', when I run: ng add @angular/fire?

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~~~~

  • I erased my hard drive and installed a fresh operating system; still not working.
  • Opened an issue on the angular/angularfire git page: https://github.com/angular/angularfire/issues/2285
  • Found that the angular/fire package.JSON uses firebase tools 6.10.0 when firebase tools is up to 7.12.1 tried to fix by forcing the project to resolve a newer version of firebase-tools using resolutions in package.json with yarn at the suggestion of @wSedlacek on GitHub. Didn't work.
  • I changed the system time to before this issue started happening and it now works, issue still not fixed because it is a minor inconvenience to roll system time back to January 4th, 2020 every time you want to start a project.
  • @wSedlacek found that an HTTPS cert is expiring the due to the older version of firebase-tools in the package.json had a cert that expired on either January 5th 2020.

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: error picture

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

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

over 4 years ago · Santiago Trujillo Report

0

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.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!