i 函数:由于 node_modules 存在问题,无法解析您的函数(见上文)
i functions: Your functions could not be parsed due to an issue with your node_modules (see above)
关于这个问题,我试图 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
我该如何解决?
由于错误显示尚不支持模拟实时数据库触发器。在撰写本文时,没有办法解决这个问题。
关于这个问题,我试图 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
我该如何解决?
由于错误显示尚不支持模拟实时数据库触发器。在撰写本文时,没有办法解决这个问题。