Can't edit json file in app


Project name: testbotgmm

If I edit info.json, it says “reconnecting” and reloads the empty file.
Doesn’t let me edit.


Hey @gurpreetsinghmatharo, it looks to me as though you have something in your backend code editing that file. Backend edits currently don’t automatically sync to the editor - you have to use the refresh command in your project’s console to get them to sync up. This might be related to your editing problems.

In addition, your project is almost out of disk space, most of which is taken up by your project’s git repo. In order to resolve this, first add whatever files are being changed regularly (probably at least info.json) to a gitignore file, and then follow these steps:

  1. open your project’s console
  2. type git prune and <enter>
  3. type git gc and <enter>
  4. type refresh and <enter>

After you’ve done that you’ll have cleaned up any excess space in your project’s repo and hopefully it won’t just fill back up again.

Let us know how all of that goes.