Bench --site install-app fails. on v13.4.1

Installing Custom_APP…
An error occurred while installing Custom_APP:
Module import failed for Package Publish Tool (frappe.custom.doctype.package_publish_tool.package_publish_tool Error: No module named ‘frappe.custom.doctype.package_publish_tool’)

PPT has been removed. But for some reason it still seems to be getting referred?

updating to the latest bench version corrects the error. bench version 5.4.1 does not give this error.

Most probably some reference of it in

I ended up recreating the custom app from base files. It was fairly small, so did not have issues.