ERPNext.com Frappe Cloud Support Partners Foundation Frappe School

Uncaught (in promise) TypeError: class heritage erpnext.TransactionController is not an object or null

Hello There.

Fresh install of erpnext on a Manjaro Linux machine.

I tried accessing sales invoice and the form won’t load. I get this

My Browser’s console shows this:

Uncaught (in promise) TypeError: class heritage erpnext.TransactionController is not an object or null
    <anonymous> form.min.js:326
    setup script_manager.js:171
    setup form.js:93
    refresh form.js:275
    render formview.js:107
    show_doc formview.js:74
    make formview.js:18
    show factory.js:24
    render_page router.js:209
    render router.js:188
    route router.js:107
    push_state router.js:359
    set_route router.js:255
    set_route router.js:251
    set_route router.js:426
    render_new_doc formview.js:101
    fetch_and_render formview.js:86
    callback model.js:216
    callback request.js:78
    200 request.js:122
    call request.js:247
    jQuery 6
    call request.js:229
    call request.js:98
    with_doc model.js:208
    with_doc model.js:202
    fetch_and_render formview.js:81
    show_doc formview.js:76
    make_and_show formview.js:32
    make formview.js:15
    callback model.js:173
    callback request.js:78
    200 request.js:122
    call request.js:247
    jQuery 6
    call request.js:229
    call request.js:98
    with_doctype model.js:147
    make formview.js:12
    show factory.js:24
    render_page router.js:209
    render router.js:188
    route router.js:107
    set_route desk.js:173
    startup desk.js:70
    init desk.js:29
    start_app desk.js:13
    <anonymous> desk.js:24
    jQuery 8
form.min.js:326:37
    set_route router.js:251
    set_route router.js:426
    render_new_doc formview.js:101
    fetch_and_render formview.js:86
    callback model.js:216
    callback request.js:78
    200 request.js:122
    call request.js:247
    jQuery 6
    call request.js:229
    call request.js:98
    with_doc model.js:208
    with_doc model.js:202
    fetch_and_render formview.js:81
    show_doc formview.js:76
    make_and_show formview.js:32
    make formview.js:15
    callback model.js:173
    callback request.js:78
    200 request.js:122
    call request.js:247
    jQuery 6
    call request.js:229
    call request.js:98
    with_doctype model.js:147
    make formview.js:12
    show factory.js:24
    render_page router.js:209
    render router.js:188
    route router.js:107
    set_route desk.js:173
    startup desk.js:70
    init desk.js:29
    start_app desk.js:13
    <anonima> desk.js:24

These are the versions I’m running

$bench --version
5.0.0-dev

$bench version
erpnext 13.x.x-develop
frappe 13.x.x-develop

I already attempted to clean both bench’s cache and the cache of bench websites.
I also ran a bench build and bench build --force to no avail.

any update