ModuleNotFoundError: No module named 'late_entry'

I had uninstalled a custom app that I had installed in my local ERPNext using bench using bench --site {site} uninstall-app {app} --dry-run.
I had also removed the app name from apps.txt file. But when I start the bench, the following is being shown in my browser.

When I tried bench list-apps, the name of the app is shown there. But, when I go inside the pps directory, I am not able to find the app there.

Please help me out with this error.
Thanks in advance!

Keep Migrating Compulsory Site Whenever you Uninstall the App

bench --site your-sitename.com migrate

and Build App

bench build --force

When I tried migrate, the following error is being occurred:

If a custom app is removed or uninstalled, please reinstall it and perform a migration.

don’t do it manually.

is there any way to get my bench work again?

try this commands:

bench setup requirements
bench build --force
bench --site your-site-name clear-cache
bench migrate