[英]'firebase init' gives me a generic error on a ionic project
I'm following a course of ionic and I need to store a picture on firebase database, at that point we should install firebase-tools, which I do by executing as admin:我正在学习 ionic 课程,我需要在 firebase 数据库上存储一张图片,此时我们应该安装 firebase-tools,我以管理员身份执行:
npm install -g firebase-tools
But then the course says you should execute:但是随后课程说你应该执行:
firebase init
and then I receive the following error:然后我收到以下错误:
Error: An unexpected error has occurred.
错误:发生意外错误。
This generic error with nothing else.这个一般错误没有别的。
Any ideas of how to solve this?关于如何解决这个问题的任何想法?
If you execute:如果你执行:
firebase init --debug
This gives you more info about the error.这为您提供了有关错误的更多信息。
It might be something about credentials or login information which can be solved by executing:它可能与凭据或登录信息有关,可以通过执行以下命令来解决:
firebase login
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.