我正在尝试使用最新版本的包启动新的Firebase函数项目。
我已经学习了这个教程https://youtu.be/DYfP-UIKxH0
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。所有其他库都是最新版本...
我不知道如何更好地调试它,以及如何解决这个问题
https://stackoverflow.com/questions/49658969
复制相似问题