Node Red Project error: "Uncaught TypeError: b[i] is undefined"

Have tried docker compose to run node-red container and a postgres container together (the db container is not accessed yet and irrelevant for node-red at the moment). Everything is running fine, except the Project feature.

The docker setup consists of a slightly modified version of the official node-red custom docker (node-red-docker/docker-custom at master · node-red/node-red-docker · GitHub), built with docker compose and dockerfile. Using bind mount for /data as normal, but otherwise no dedicated volume (didn't see a need for it).

When navigating to Projects --> Project Settings in web browser, web browser console gives following error:

Uncaught TypeError: b[i] is undefined
    l http://localhost:1880/red/red.min.js?v=942c43171250:19
    a http://localhost:1880/red/red.min.js?v=942c43171250:19
    open http://localhost:1880/red/red.min.js?v=942c43171250:19
    open http://localhost:1880/red/red.min.js?v=942c43171250:19
    n http://localhost:1880/red/red.min.js?v=942c43171250:19
    show http://localhost:1880/red/red.min.js?v=942c43171250:19
    show http://localhost:1880/red/red.min.js?v=942c43171250:19
    f http://localhost:1880/red/red.min.js?v=942c43171250:18
    p http://localhost:1880/red/red.min.js?v=942c43171250:18
    dispatch http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    handle http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    add http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    add http://localhost:1880/vendor/vendor.js?v=942c43171250:4
    ke http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    each http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    each http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    ke http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    on http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    p http://localhost:1880/red/red.min.js?v=942c43171250:18
    p http://localhost:1880/red/red.min.js?v=942c43171250:18
    init http://localhost:1880/red/red.min.js?v=942c43171250:18
    s http://localhost:1880/red/red.min.js?v=942c43171250:16
    init http://localhost:1880/red/red.min.js?v=942c43171250:18
    c http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    fireWith http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    l http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    o http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    send http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    ajax http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    ajax http://localhost:1880/vendor/vendor.js?v=942c43171250:4
    i http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    getJSON http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    init http://localhost:1880/red/red.min.js?v=942c43171250:18
    init http://localhost:1880/red/red.min.js?v=942c43171250:16
    success http://localhost:1880/red/red.min.js?v=942c43171250:16
    c http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    fireWith http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    l http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    o http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    send http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    ajax http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    ajax http://localhost:1880/vendor/vendor.js?v=942c43171250:4
    d http://localhost:1880/red/red.min.js?v=942c43171250:16
    i http://localhost:1880/red/red.min.js?v=942c43171250:16
    success http://localhost:1880/red/red.min.js?v=942c43171250:16
    c http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    fireWith http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    l http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    o http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    send http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    ajax http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    ajax http://localhost:1880/vendor/vendor.js?v=942c43171250:4
    r http://localhost:1880/red/red.min.js?v=942c43171250:16
    i http://localhost:1880/red/red.min.js?v=942c43171250:16
    init http://localhost:1880/red/red.min.js?v=942c43171250:16
    init http://localhost:1880/red/red.min.js?v=942c43171250:16
    init http://localhost:1880/red/red.min.js?v=942c43171250:16
    e http://localhost:1880/vendor/vendor.js?v=942c43171250:31
    i http://localhost:1880/vendor/vendor.js?v=942c43171250:31
    i http://localhost:1880/vendor/vendor.js?v=942c43171250:31
    value http://localhost:1880/vendor/vendor.js?v=942c43171250:31
    value http://localhost:1880/vendor/vendor.js?v=942c43171250:31
    value http://localhost:1880/vendor/vendor.js?v=942c43171250:31
    value http://localhost:1880/vendor/vendor.js?v=942c43171250:31
    value http://localhost:1880/vendor/vendor.js?v=942c43171250:31
    value http://localhost:1880/vendor/vendor.js?v=942c43171250:32
    default http://localhost:1880/vendor/vendor.js?v=942c43171250:32
    promise callback*[3]</</</i.default/< http://localhost:1880/vendor/vendor.js?v=942c43171250:32
red.min.js:19:221161
    l http://localhost:1880/red/red.min.js?v=942c43171250:19
    a http://localhost:1880/red/red.min.js?v=942c43171250:19
    open http://localhost:1880/red/red.min.js?v=942c43171250:19
    forEach self-hosted:160
    open http://localhost:1880/red/red.min.js?v=942c43171250:19
    n http://localhost:1880/red/red.min.js?v=942c43171250:19
    show http://localhost:1880/red/red.min.js?v=942c43171250:19
    show http://localhost:1880/red/red.min.js?v=942c43171250:19
    f http://localhost:1880/red/red.min.js?v=942c43171250:18
    p http://localhost:1880/red/red.min.js?v=942c43171250:18
    dispatch http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    handle http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    (Async: EventListener.handleEvent)
    add http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    add http://localhost:1880/vendor/vendor.js?v=942c43171250:4
    ke http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    each http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    each http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    ke http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    on http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    p http://localhost:1880/red/red.min.js?v=942c43171250:18
    p http://localhost:1880/red/red.min.js?v=942c43171250:18
    init http://localhost:1880/red/red.min.js?v=942c43171250:18
    s http://localhost:1880/red/red.min.js?v=942c43171250:16
    init http://localhost:1880/red/red.min.js?v=942c43171250:18
    c http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    fireWith http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    l http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    o http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    (Async: EventHandlerNonNull)
    send http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    ajax http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    ajax http://localhost:1880/vendor/vendor.js?v=942c43171250:4
    i http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    getJSON http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    init http://localhost:1880/red/red.min.js?v=942c43171250:18
    init http://localhost:1880/red/red.min.js?v=942c43171250:16
    success http://localhost:1880/red/red.min.js?v=942c43171250:16
    c http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    fireWith http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    l http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    o http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    (Async: EventHandlerNonNull)
    send http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    ajax http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    ajax http://localhost:1880/vendor/vendor.js?v=942c43171250:4
    d http://localhost:1880/red/red.min.js?v=942c43171250:16
    i http://localhost:1880/red/red.min.js?v=942c43171250:16
    success http://localhost:1880/red/red.min.js?v=942c43171250:16
    c http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    fireWith http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    l http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    o http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    (Async: EventHandlerNonNull)
    send http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    ajax http://localhost:1880/vendor/vendor.js?v=942c43171250:2
    ajax http://localhost:1880/vendor/vendor.js?v=942c43171250:4
    r http://localhost:1880/red/red.min.js?v=942c43171250:16
    i http://localhost:1880/red/red.min.js?v=942c43171250:16
    init http://localhost:1880/red/red.min.js?v=942c43171250:16
    init http://localhost:1880/red/red.min.js?v=942c43171250:16
    init http://localhost:1880/red/red.min.js?v=942c43171250:16
    e http://localhost:1880/vendor/vendor.js?v=942c43171250:31
    i http://localhost:1880/vendor/vendor.js?v=942c43171250:31
    i http://localhost:1880/vendor/vendor.js?v=942c43171250:31
    value http://localhost:1880/vendor/vendor.js?v=942c43171250:31
    value http://localhost:1880/vendor/vendor.js?v=942c43171250:31
    forEach self-hosted:160
    value http://localhost:1880/vendor/vendor.js?v=942c43171250:31
    value http://localhost:1880/vendor/vendor.js?v=942c43171250:31
    value http://localhost:1880/vendor/vendor.js?v=942c43171250:31
    value http://localhost:1880/vendor/vendor.js?v=942c43171250:32
    default http://localhost:1880/vendor/vendor.js?v=942c43171250:32
    (Async: promise callback)
    default http://localhost:1880/vendor/vendor.js?v=942c43171250:32

Docker console (attach) is silent:

node-red-1  | Welcome to Node-RED
node-red-1  | ===================
node-red-1  |
node-red-1  | 5 Sep 12:16:51 - [info] Node-RED version: v4.0.2
node-red-1  | 5 Sep 12:16:51 - [info] Node.js  version: v20.17.0
node-red-1  | 5 Sep 12:16:51 - [info] Linux 5.15.146.1-microsoft-standard-WSL2 x64 LE
node-red-1  | 5 Sep 12:16:51 - [info] Loading palette nodes
node-red-1  | 5 Sep 12:17:06 - [info] Dashboard version 3.6.5 started at /ui
node-red-1  | 5 Sep 12:17:06 - [info] Settings file  : /data/settings.js
node-red-1  | 5 Sep 12:17:06 - [info] Context store  : 'default' [module=memory]
node-red-1  | 5 Sep 12:17:06 - [info] User directory : /data
node-red-1  | 5 Sep 12:17:06 - [info] Projects directory: /data/projects
node-red-1  | 5 Sep 12:17:06 - [info] Server now running at http://127.0.0.1:1880/
node-red-1  | 5 Sep 12:17:07 - [info] Active project : node-red-wago-project
node-red-1  | 5 Sep 12:17:07 - [info] Flows file     : /data/projects/node-red-wago-project/flows.json
node-red-1  | 5 Sep 12:17:07 - [warn] Using unencrypted credentials
node-red-1  | 5 Sep 12:17:07 - [info] Starting flows
node-red-1  | 5 Sep 12:17:09 - [info] Started flows

Any clue what is wrong, or what I might have missed that causes this problem?