ng add @ angular/fire'服务器错误.证书已过期" [英] ng add @angular/fire 'Server Error. certificate has expired'
问题描述
ng添加@ angular/fire
....
ng add @angular/fire
....
在14.519秒内审核了23085个程序包
找到0个漏洞
服务器错误.证书已过期
audited 23085 packages in 14.519s
found 0 vulnerabilities
Server Error. certificate has expired
使用最新版本:
Angular CLI:8.3.21
节点:10.16.0
角度:8.2.14
firebase-tools:7.11.0
Using last versions :
Angular CLI: 8.3.21
Node: 10.16.0
Angular: 8.2.14
firebase-tools : 7.11.0
已经尝试注销并再次登录到Firebase,但不能解决问题
Already tried logout and login to firebase again but it doesn't solve the problem
推荐答案
我试图将@ angular/fire添加到我的项目中只是为了将其部署到firebase,但是使用时似乎存在"ng"命令问题火力基地. 我发现解决此问题的唯一方法是使用firebase-tools的本机命令:
I was trying to add @angular/fire to my project just to deploy it to firebase but it seems like there is a problem with "ng" commands when using firebase. The only way i found to resolve this is using the native commands of firebase-tools :
- firebase初始化
或firebase使用--add"myprojectId"
- firebase部署
- firebase init
or firebase use --add "myprojectId"- firebase deploy
这篇关于ng add @ angular/fire'服务器错误.证书已过期"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!