TypeError: Cannot read property 'length' of undefined
at Object.functionMatchesAnyGroup (/usr/local/lib/node_modules/firebase-tools/lib/deploy/functions/functionsDeployHelper.js:11:23)
at /usr/local/lib/node_modules/firebase-tools/lib/deploy/functions/deploymentPlanner.js:25:56
at Array.filter ()
at calculateRegionalFunctionChanges (/usr/local/lib/node_modules/firebase-tools/lib/deploy/functions/deploymentPlanner.js:25:17)
at Object.createDeploymentPlan (/usr/local/lib/node_modules/firebase-tools/lib/deploy/functions/deploymentPlanner.js:53:50)
at release (/usr/local/lib/node_modules/firebase-tools/lib/deploy/functions/release.js:24:48)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
TypeError: Cannot read property 'length' of undefined at Object.functionMatchesAnyGroup (/usr/local/lib/node_modules/firebase-tools/lib/deploy/functions/functionsDeployHelper.js:11:23) at /usr/local/lib/node_modules/firebase-tools/lib/deploy/functions/deploymentPlanner.js:25:56 at Array.filter ()
at calculateRegionalFunctionChanges (/usr/local/lib/node_modules/firebase-tools/lib/deploy/functions/deploymentPlanner.js:25:17)
at Object.createDeploymentPlan (/usr/local/lib/node_modules/firebase-tools/lib/deploy/functions/deploymentPlanner.js:53:50)
at release (/usr/local/lib/node_modules/firebase-tools/lib/deploy/functions/release.js:24:48)
at processTicksAndRejections (internal/process/task_queues.js:95:5)