Issue
When trying to perform a build you are getting the error app.json validation error: Invalid environment name
even though there have been no changes to your app.json
.
Resolution
A recent change has been made to Review Apps that now enforces a validation check on the keys under the "environments" section in the app.json
file.
Previously these keys were ignored, however now, if you include any key not listed in app.json schema section of the devcenter you will get a validation error.
- Allowed keys:
test
andreview
- Keys you may previously have used but that will no longer work:
staging
,production