Category: Firebase

  • How to use test Firebase functions locally

    This specifically relates to running a web project withFirebase. There are two requirements to testing Firebase functions locally before deployment. First you need to run the emulator, and second you need to tell your calling script to use the emulator. And tell it using the correct syntax. Setup the emulators Run the following in your…

  • Firebase deploy: functions predeploy error: Command terminated with non-zero exit code126

    Received error number 126 relating to eslint lint when deploying project to firebase. Down to broken/missing Lint package. Solution cd into project functions directory run this: Deploy again and the error should be gone: Source: https://stackoverflow.com/questions/48602833/eslint-error-while-trying-to-deploy-firebase-functions