Failed to create function project when deploying firebase cloud function
I'm trying to deploy the firebase function from my local machine I run the following code: firebase deploy --only functions I'm getting this error. ✔ functions: Finished running predeploy script. i functions: ensuring required API cloudfunctions.googleapis.com is enabled... i functions: ensuring required API cloudbuild.googleapis.com is enabled... ✔ function