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
火力基地工具: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 部署
这篇关于ng add @angular/fire '服务器错误.证书已过期'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!