问题
In relation to this question I am trying to firebase emulators:start
but I get the bellow output. Which when I type and press enter does nothing now.
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
How can I solve this?
回答1:
As the error shows emulation of Realtime Database triggers is not supported yet. There is no way around this, as of writing this.
来源:https://stackoverflow.com/questions/56266654/i-functions-your-functions-could-not-be-parsed-due-to-an-issue-with-your-node-m