Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
438 views
in Technique[技术] by (71.8m points)

firebase deploy gives error in flutter app

Output On Terminal

! functions: package.json indicates an outdated version of firebase-functions. Please upgrade using npm install --save firebase-functions@latest in your functions directory.

=== Deploying to 'fir-90846'...

i deploying storage, firestore, functions, hosting Running command: npm --prefix "$RESOURCE_DIR" run build

functions@ build E:Flutter Projectsagent_softezifunctions tsc

  • functions: Finished running predeploy script.

There was an issue deploying your functions. Verify that your project has a Google App Engine instance setup at https://console.cloud.google.com/appengine and try again. If this issue persists, please contact support.

Error: Server Error. write EPROTO 11640:error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac:c:wsdepsopensslopensslssl ecordssl3_record.c:677:

question from:https://stackoverflow.com/questions/65926694/firebase-deploy-gives-error-in-flutter-app

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...