0

I am having issues in trying to deploy firebase functions. If I try to do firebase -deploy I end up with below error:

(base) mdarifulislam@Arifuls-MacBook-Pro firebase % firebase deploy

=== Deploying to 'amrai-bangladesh'...

i  deploying functions
Running command: npm --prefix "$RESOURCE_DIR" run lint

> functions@ lint /Users/mdarifulislam/Documents/GitHub/AmraiBangladesh/firebase/functions
> eslint .

✔  functions: Finished running predeploy script.
i  functions: ensuring necessary APIs are enabled...
✔  functions: all necessary APIs are enabled
i  functions: preparing functions directory for uploading...
i  functions: packaged functions (40.4 KB) for uploading
⚠  functions: Upload Error: Server Error. read ECONNRESET

Error: Server Error. read ECONNRESET
(base) mdarifulislam@Arifuls-MacBook-Pro firebase % ```


How can I solve this problem?
3
  • Try to logout and login back, through the CLI: firebase logout ... firebase login Commented Apr 10, 2020 at 8:19
  • @RenaudTarnec Unfortunately, does not work, the same error appears Commented Apr 10, 2020 at 8:51
  • 1
    If you are having problem deploying to Cloud Functions using the Firebase CLI, and the error message isn't helpful, you should contact Firebase support directly. support.google.com/firebase/contact/support Commented Apr 10, 2020 at 20:24

1 Answer 1

1

There's some sort of blocking that's going on in Bangladesh. You can try VPN while deploying. Works for me.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.