I\'m using Firebase Functions JavaScript version, and when I run firebase deploy, I\'m getting this error:
JavaScript
firebase deploy
Error: Error occu
try to run this
npm i --save firebase-functions@latest
It's a bug in firebase-tools@3.18.1. Fixed in 3.18.2.
firebase-tools@3.18.1
3.18.2
Run: npm install -g firebase-tools@latest
npm install -g firebase-tools@latest