Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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"
like image 806
mac Avatar asked Nov 07 '20 14:11

mac


People also ask

What file should be used for your remote config template?

Download Remote Config template defaults You can then include this file in your project and configure your app to import these values. You can download these files in XML format for Android apps, property list (plist) format for iOS apps, and JSON for web apps.

What is firebase Remoteconfig?

Firebase Remote Config is a cloud service that lets you change the behavior and appearance of your app without requiring users to download an app update. When using Remote Config, you create in-app default values that control the behavior and appearance of your app.

What is Moto remote config?

Remote config (short for "remote configuration") is a software development technique for mobile apps where the behavior or features of an app can be changed remotely without having to publish an app update.


1 Answers

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.

like image 184
Frank van Puffelen Avatar answered Nov 14 '22 23:11

Frank van Puffelen