小编arj*_*uns的帖子

Firebase 函数:无法设置只有 getter 的 #<Object> 的属性配置

Firebase 功能运行良好我更新到最新的 firebase-tools 现在在运行 firebase serve 时遇到了这个错误问题。

[debug] [2020-05-28T20:37:11.387Z] [runtime-status] [93658] Error in handleMessage:  => TypeError: Cannot set property config of #<Object> which has only a getter: TypeError: Cannot set property config of #<Object> which has only a getter
    at {....}/node/v10.15.0/lib/node_modules/firebase-tools/lib/emulator/functionsEmulatorRuntime.js:455:19
    at Generator.next (<anonymous>)
    at fulfilled ({....}/node/v10.15.0/lib/node_modules/firebase-tools/lib/emulator/functionsEmulatorRuntime.js:5:58)
[warn] ?  functions: Cannot set property config of #<Object> which has only a getter {"metadata":{"emulator":{"name":"functions"},"message":"Cannot set property config of #<Object> which has only a getter"}}
[warn] ?  Your function was killed because it …
Run Code Online (Sandbox Code Playgroud)

firebase firebase-tools

13
推荐指数
2
解决办法
3849
查看次数

标签 统计

firebase ×1

firebase-tools ×1