You will need to have google cloud functions emulator modules installed:
npm install -g @google-cloud/functions-emulator
Then you will need to get your firebase project configuration. For that, you need to go to your firebase functions project folder, log in to your project and run the setup:web command:
firebase login
firebase setup:we