When I am running this command after sudo su I am getting a warning
WARN: You should not run this command as root
How to solve this?
If I run the command as regular user I am getting following error
bitnami@ip-172-31-91-101:~/stack/erpnext/bench$ bench set-config developer_mode 1
WARN: bench is installed in editable mode!
This is not the recommended mode of installation for production. Instead, install the package from PyPI with: `pip install frappe-bench`
WARN: Command not being executed in bench directory
Usage: bench [OPTIONS] COMMAND [ARGS]...
Try 'bench --help' for help.
Error: No such command 'set-config'.
First, the advice you’ve gotten here is incomplete and potentially misleading.
Under most circumstances, you don’t want to use developer mode to customize standard doctypes. Instead, you should use the Customize Form tool. Anything you change in developer mode will be wiped out on your next update, whereas the changes your make via Customize Form tool will remain.
Second, your bench issue is odd. Can you share the output of bench --version?