Search code examples
androidfirebasefirebase-clifirebase-remote-config

Firebase deploy keeps giving me an Error: Parse Error in remoteconfig.template.json


I am trying to deploy a web app with firebase but every time I run deploy I keep getting this error

Error: Parse Error in remoteconfig.template.json:

No data, empty input at 1:1

^
File: "remoteconfig.template.json"

Solution

  • You have a reference to a remoteconfig.template.json in your firebase.json files, but that template doesn't exist. This will typically look like:

      "remoteconfig": {
        "template": "remoteconfig.template.json"
      }
    

    The solution is to find this section in your firebase.json file, and remove it.