Can't install environment.json?

Where does the bug appear (feature/product)?

Somewhere else…

Describe the Bug

Trying to add an install script for one of my automations. Trying to configure the attached environment by adding the script directly, then I keep getting an alert saying “This environment cannot be edited because its environment.json is not available.”. Also tried pushing an actual environment.json to my main repo, same error message happens.

Steps to Reproduce

  1. Make automation
  2. Make environment (I had 4 repos attached to this)
  3. Try to add update script, save (alert message pops up)

Expected Behavior

I should be able to just add the script or select an environment.json from the repos

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

This is Cursor web dashboard

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi Sam,

Thank you very much for the report. I was able to reproduce this behavior, and I’ve filed a bug report for the team. In the meantime, the best workaround (I think) is to run the environment setup flow instead of editing the Update Script directly from that unconfigured state:

  1. Open the affected environment.
  2. Click Start Setup Agent.
  3. Let the setup flow generate/save the environment configuration.
  4. Return to the environment page and try editing the Update Script again.

If you recreate the environment, choose Start Agent rather than Skip & Save after selecting the repos. If you don’t need multiple repos for this automation, a single-repo environment should also avoid this specific issue.

Sorry for the inconvenience. We’ll let you know any updates on this.