i functions: Your functions could not be parsed due to an issue with your node_modules (see above)

*爱你&永不变心* 提交于 2019-12-11 17:25:01

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!