首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >部署到仿真器时发生Firebase函数错误

部署到仿真器时发生Firebase函数错误
EN

Stack Overflow用户
提问于 2018-04-05 03:28:57
回答 2查看 1.3K关注 0票数 1

我正在尝试使用最新版本的包启动新的Firebase函数项目。

我已经学习了这个教程https://youtu.be/DYfP-UIKxH0

  1. Firebase登录
  2. Firebase init
  3. 以与tutorial says
  4. Uncommented index.ts content
  5. 相同的方式创建函数项目之后,我收到此错误:

Starting @google-cloud/functions-emulator [2018-04-04T19:05:12.124Z] Parsing function triggers [2018-04-04T19:05:12.404Z] Error while deploying to emulator: TypeError: Cannot read property 'call' of undefined TypeError: Cannot read property 'call' of undefined at Promise (/usr/local/lib/node_modules/firebase-tools/node_modules/@google-cloud/functions-emulator/src/client/rest-client.js:34:42) at getService.then (/usr/local/lib/node_modules/firebase-tools/node_modules/@google-cloud/functions-emulator/src/client/rest-client.js:33:16) at process._tickDomainCallback (internal/process/next_tick.js:135:7) ⚠ functions: Failed to emulate helloWorld

我有最新的函数模拟器*1.0.0-beta4。所有其他库都是最新版本...

我不知道如何更好地调试它,以及如何解决这个问题

EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49658969

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档