Make sure that your firebase-functions version is updated, to update your version execute the command below in your flutter function directory /flutter_project_name/functions
:
npm install --save firebase-functions@latest
For function deploying error with the message about App engine, I saw a similar issues that running the command below should fix the problem:
npm install -g firebase-tools
If still not resolved as the error message said and suggest to open a ticket with Firebase support.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…