【问题标题】:Firebase function won't launch [closed]Firebase 功能不会启动 [关闭]
【发布时间】:2021-12-29 09:34:58
【问题描述】:

您好,我正在开发一个带有 firebase 功能的小 API。直到今天一切都很好,无缘无故。当我尝试启动服务器时出现此错误

Error: An unexpected error has occurred.

它说去看看 firebase-debug.log。在文件末尾我有这个:

[debug] [2021-11-18T13:27:28.923Z] TypeError: Cannot read properties of undefined (reading 'rows')
    at new Table (C:\Users\Isai\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\cli-table\lib\index.js:51:15)
    at Command.actionFn (C:\Users\Isai\AppData\Roaming\npm\node_modules\firebase-tools\lib\commands\emulators-start.js:47:33)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[error] 
[error] Error: An unexpected error has occurred.

尝试卸载并重新安装后,错误仍然相同。 请问有人知道是什么原因造成的吗?

【问题讨论】:

  • 我也在经历这个

标签: firebase firebase-tools


【解决方案1】:

我修复了这个大检查选项是否在第 51 行的 index.js 中定义,但我不知道首先是什么原因导致它

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-11-13
    • 2016-09-26
    • 2012-02-12
    • 2012-05-21
    • 1970-01-01
    • 2020-12-23
    • 2020-09-09
    • 1970-01-01
    相关资源
    最近更新 更多