Bench remove-app is returning "no app", but app name is shown when listed apps using bench list-apps

I uninstalled a custom app using bench uninstall-app and also bench remove-app and also removed app name from apps.txt, and bench uninstall-app and bench remove-app is returning app name is not installed

but when listed the apps using bench list-apps getting the app name

Try this command:

bench remove-app stock_take --force

hi @NCP
I am trying to learn how bench list-apps command works and why it is returning the app name which is uninstalled also stock_take is mentioned in apps.json file,

"stock_take": {
        "is_repo": true,
        "resolution": {
            "commit_hash": "0b2874a1f261e5ae4e0a1b2883abc16a37baa7d5",
            "branch": "develop"
        },
        "required": [],
        "idx": 24,
        "version": "0.0.1"
    },

is this the reason?

The bench list-apps command shows all the apps installed on the bench, not just the ones specific to a site. If you want to see the apps installed for a particular site, use the command bench --site site.com list-apps.

after using “bench remove-app stock_take --force” still the issue is not solved
still its showing in the bench list-apps

something issue is in your bench.

Hi @Prasanna_Kumar2:

Try bench --site yoursite.com remove-from-installed-apps stock_take

Hope this helps.