Nodered v4.0.2 editor is not loading in docker

Cannot load NR editor after upgrading to NR v4.0.2

Everyhing works fine with this package.json

{
    "name": "node-red-docker",
    "version": "3.1.11",
    "description": "Low-code programming for event-driven applications",
    "homepage": "http://nodered.org",
    "license": "Apache-2.0",
    "repository": {
        "type": "git",
        "url": "https://github.com/node-red/node-red-docker.git"
    },
    "main": "node_modules/node-red/red/red.js",
    "scripts": {
        "start": "node $NODE_OPTIONS node_modules/node-red/red.js $FLOWS",
        "debug": "node --inspect=0.0.0.0:9229 $NODE_OPTIONS node_modules/node-red/red.js $FLOWS",
        "debug_brk": "node --inspect=0.0.0.0:9229 --inspect-brk $NODE_OPTIONS node_modules/node-red/red.js $FLOWS"
    },
    "contributors": [
        {
            "name": "Dave Conway-Jones"
        },
        {
            "name": "Nick O'Leary"
        },
        {
            "name": "James Thomas"
        },
        {
            "name": "Raymond Mouthaan"
        }
    ],
    "dependencies": {
        "node-red": "3.1.11"
    },
    "engines": {
        "node": ">=18"
    }
}

updated package.json

Dockerfile:

ARG ARCH=amd64
ARG NODE_VERSION=20
ARG OS=alpine3.18

Flows work in the background

image

image

Situation very similar to No response from editor but dashboard UI stills works ?! (FIXED) - General - Node-RED Forum (nodered.org)

But it works with 3.1.11 so I'm out of ideas. Any suggestions?

Hi @KarolisL

Whilst I don't have an immediate solution for you, we have had a couple reports of this error - although so far we haven't been able to recreate it.

Can you check the Network tab of the console when you load the editor and look for the monaco-bootstrap.js file being loaded? Looking for anything 'unusual' around that request.


it is being loaded.

Issue was resolved by updating browser. Strange that we also tried Edge browser and got same results, so we discarded browser as an issue. This machine doesn't have internet and Windows image is preloaded.

After running Firefox portable we were able to see editor