To avoid “Cloud Functions deployment requires the pay-as-you-go (Blaze) billing plan” error, you can change your billing plan instead of setting Node.js to version 8.
In this post, we will fix this error by changing the billing plan.
Go to “Project Overview”, then “Usage and billing”:
Open “Details & settings”:
Click on “Modify plan”:
Choose “Pay as you go” plan:
Then click “Continue”:
You will be redirected to the billing page. Choose your country and click confirm:
Setup all required fields and click “Confirm Purchase”:
If the update was successful you can see this modal window:
You will get a confirmation email and the Cloud Functions deployment requires the pay-as-you-go (Blaze) billing plan will disappear while deploying your function.