Manifest string is not a valid json object or string

I’m having trouble generating a proper eas.json script for my app to export.
Anyone who can help?

(P.S.) here’s my eas.json code:

{
  "cli": {
    "version": ">= 2.1.0"
  },
  "build": {
    "development": {
      "developmentClient": true,
      "distribution": "internal"
    },
    "preview": {
      "distribution": "internal"
    },
    "production": {}
  },
  "submit": {
    "production": {}
  }
}

I’ve tried reading the documentation:

but it does not have an example code to use for filling in my eas.json file.

( eas-cli/2.1.0 darwin-arm64 node-v18.0.0)

Here is my work in progress

{
  "cli": {
    "version": ">= 0.45.1"
  },
  "build": {
    "production": {
      "releaseChannel": "production",
      "env": {
        "CAREFOR_EMAR_ENVIRONMENT": "production"
      }
    },
    "pre-production": {
      "releaseChannel": "production",
      "env": {
        "CAREFOR_EMAR_ENVIRONMENT": "production"
      },
      "android": {
        "buildType": "apk"
      }
    },
    "development": {
      "extends": "pre-production",
      "developmentClient": true,
      "distribution": "internal",
      "env": {
        "CAREFOR_EMAR_ENVIRONMENT": "development"
      }
    },
    "staging": {
      "extends": "pre-production",
      "distribution": "internal",
      "releaseChannel": "staging",
      "env": {
        "CAREFOR_EMAR_ENVIRONMENT": "staging"
      }
    }
  },
  "submit": {
    "production": {}
  }
}

Hi @markcash11

If you delete eas.json and run eas build for the first time, it will create a default eas.json for you. Yours looks like the one that would be created by default. Are you having problems building or submitting your app?

I don’t know what you mean “for my app to export”?

Hey @markybry, thank you for the support!
It still gives the same error, maybe writing my own EAS.json file would fix this, but
have no Idea how to do this…
Any suggestions would be helpful…