node.js - i 函数:由于 node_modules 存在问题,无法解析您的函数(见上文)
问题描述
关于这个问题,我正在尝试,firebase emulators:start
但我得到了以下输出。当我键入并按 Enter 时,它现在什么都不做。
i Starting emulators: ["functions"]
⚠ Your requested "node" version "8" doesn't match your global version "12"
✔ functions: Emulator started at http://localhost:5001
i functions: Watching "/Users/username/Desktop/FinalAppPrjv2/firefunctions/functions" for Cloud Functions...
⚠ The Cloud Functions emulator requires the module "firebase-functions-test" to be installed as a development dependency. To fix this, run "npm install --save-dev firebase-functions-test" in your functions directory.
i functions: Your functions could not be parsed due to an issue with your node_modules (see above)
cd functions
pwd
npm install --save-dev firebase-functions-test
我该如何解决这个问题?
解决方案
由于错误显示尚不支持模拟实时数据库触发器。在撰写本文时,没有办法解决这个问题。
推荐阅读
- python - 如何将画布分配给 Kivy 中的多个小部件
- java - Java 2D 游戏内存泄漏
- chef-infra - ChefSpec 测试目录存在
- python - 如何编写一个 Django ORM 查询,其中选择表与另一个表共享一个公共列?
- android - 如何使用 tensorflow lite 在分类对象周围绘制边界框?
- android - 带有导航架构组件的 ViewPager
- javascript - 用php发送图片?
- javascript - 如何从可观察对象中映射新的对象数组?
- javascript - 根据先前下拉菜单的选择,制作所需的下拉菜单
- mysql - 如何根据连接查询中的一列返回最大行?