I'm having this error when deploying Firebase functions. The error still persists even when I run npm install in the Function directory.
Error: Error parsing triggers: Cannot find module 'hammerjs' Require stack: /Users/Kurbs/Desktop/Lidora/Functions/functions/index.js /usr/local/lib/node_modules/firebase-tools/lib/triggerParser.js Try running "npm install" in your functions directory before deploying.
Error: Error parsing triggers: Cannot find module 'hammerjs' Require stack:
Try running "npm install" in your functions directory before deploying.
2.1m questions
2.1m answers
60 comments
57.0k users