i函数:由于您的node_modules问题而导致无法解析您的函数(请参见上文)

时间:2019-05-23 00:36:01

标签: node.js firebase npm google-cloud-functions firebase-cli

关于这个问题,我正在尝试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

我该如何解决?

1 个答案:

答案 0 :(得分:0)

由于该错误显示实时数据库触发器的仿真尚不支持。撰写本文时,没有办法解决这个问题。