Error trying to install custom apps

I’ve setup an instance of ERPnext v13, though I keep receiving errors while trying to install custom apps. They’re usually referring to KeyError: 'erpnext_support' though I’ve already removed that and the ‘journeys’ apps since if I don’t, bench migrate doesn’t work.

Any ideas?

Installing frappe_better_list_view...
An error occurred while installing frappe_better_list_view: 'erpnext_support'
Traceback (most recent call last):
  File "apps/frappe/frappe/commands/", line 293, in install_app
    _install_app(app, verbose=context.verbose)
  File "apps/frappe/frappe/", line 188, in install_app
  File "apps/frappe/frappe/", line 215, in add_to_installed_apps
  File "apps/frappe/frappe/", line 369, in post_install
  File "apps/frappe/frappe/", line 386, in init_singles
    doc = frappe.new_doc(single)
  File "apps/frappe/frappe/", line 994, in new_doc
    return get_new_doc(doctype, parent_doc, parentfield, as_dict=as_dict)
  File "apps/frappe/frappe/model/", line 24, in get_new_doc
    frappe.local.new_doc_templates[doctype] = make_new_doc(doctype)
  File "apps/frappe/frappe/model/", line 39, in make_new_doc
    doc = frappe.get_doc(
  File "apps/frappe/frappe/", line 1074, in get_doc
    doc = frappe.model.document.get_doc(*args, **kwargs)
  File "apps/frappe/frappe/model/", line 77, in get_doc
    controller = get_controller(doctype)
  File "apps/frappe/frappe/model/", line 82, in get_controller
    site_controllers[doctype] = _get_controller()
  File "apps/frappe/frappe/model/", line 64, in _get_controller
    module = load_doctype_module(doctype, module_name)
  File "apps/frappe/frappe/modules/", line 230, in load_doctype_module
    app = get_module_app(module)
  File "apps/frappe/frappe/modules/", line 258, in get_module_app
    return frappe.local.module_app[scrub(module)]
KeyError: 'erpnext_support'