I am trying to host a app in firebase and its giving me error that
Error: Error parsing triggers: Cannot find module 'firebase'
Try running "npm install" in your functions directory before deploying.
I have executed npm install
command several times but nothing new.
Please help
npm install -g firebase-tools
in your project directorynpm install
(ornpm install firebase
) before deploying. See the last line of the terminal.npm install
from thefunctions
subdirectory of your project.