Firebase-tools: firebase init 函数给出错误:发生意外错误。

创建于 2017-03-11  ·  4评论  ·  资料来源: firebase/firebase-tools

运行firebase init function我可以选择一个项目,然后脚本崩溃。

我已经尝试在 Node 6.10、7.5、7.7 上使用 firebase-tools 全局安装和本地安装。
如果我选择默认项目没有区别。

附上错误日志:
firebase-debug.txt

最有用的评论

你缺s吗?

Firebase 初始化函数

2017 年 3 月 11 日星期六上午 12:02 Kristoffer Högberg通知@ github.com
写道:

运行 firebase init 函数时,我可以选择一个项目,然后
脚本崩溃。

我已经尝试在 Node 6.10、7.5、7.7 上使用 firebase-tools 全局安装和
本地安装。

附上错误日志:
firebase-debug.txt
https://github.com/firebase/firebase-tools/files/835600/firebase-debug.txt


您收到此消息是因为您订阅了此线程。
直接回复本邮件,在GitHub上查看
https://github.com/firebase/firebase-tools/issues/273 ,或静音
线
https://github.com/notifications/unsubscribe-auth/AAAD_mGVgIltveYpRevncvucKJD7qyXfks5rklUwgaJpZM4MaI0X
.

所有4条评论

你缺s吗?

Firebase 初始化函数

2017 年 3 月 11 日星期六上午 12:02 Kristoffer Högberg通知@ github.com
写道:

运行 firebase init 函数时,我可以选择一个项目,然后
脚本崩溃。

我已经尝试在 Node 6.10、7.5、7.7 上使用 firebase-tools 全局安装和
本地安装。

附上错误日志:
firebase-debug.txt
https://github.com/firebase/firebase-tools/files/835600/firebase-debug.txt


您收到此消息是因为您订阅了此线程。
直接回复本邮件,在GitHub上查看
https://github.com/firebase/firebase-tools/issues/273 ,或静音
线
https://github.com/notifications/unsubscribe-auth/AAAD_mGVgIltveYpRevncvucKJD7qyXfks5rklUwgaJpZM4MaI0X
.

@mbleigh感谢您的回答。
我犯了这样一个愚蠢的错误:smile:

我被日志中的这一部分愚弄了:
=== Function Setup
让它看起来像是在启动函数 init

编写 firebase init 函数而不是 firebase init 函数

@ azat99感谢您的回复。
此问题已在 6 个月前使用该解决方案关闭 =)

此页面是否有帮助?
0 / 5 - 0 等级