Where does the bug appear (feature/product)?
Cloud Agent (GitHub, Slack, Web, Linear)
Describe the Bug
Anyone knows what to do if you get this error message when starting a new chat connected to a Github repo? XXXXX = my repo name instead
Failed to parse environment.json
[ { “code”: “invalid_type”, “expected”: “object”, “received”: “number”, “path”: [ “ports”, 0 ], “message”: “Expected object, received number” } ] Here is the environment.json: jsonc { "name": "XXXXXXXXXXXXXX", "install": "bash -c 'command -v php >/dev/null 2>&1 && php -m | grep -qi simplexml || { sudo apt-get update -y && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends php-cli php-xml php-curl php-mbstring php-zip; }' && php -v", "terminals": [ { "name": "php-dev-server", "command": "bash .cursor/dev-server.sh" } ], "ports": [ 8080 ] }
Steps to Reproduce
Starting new agent / chat. All messages gives me error.
Operating System
Windows 10/11
Version Information
Cloud cursor.com
Does this stop you from using Cursor
Yes - Cursor is unusable