ReferenceError: Monaco is not defined

Hello together.
I have a new fresh installation of node-red at a Windows Server 2022.
Latest LTS Version from NodeJS: v20.15.0 and the latest node-red: V4.0.0

I work local at the server and when I start node-red at first time and open the browser I only see the logo in the title.
By the browser DevTools, I could see this error: "ReferenceError: Monaco is not defined"

In the settings.js I changed the codeEditor from "monaco" to "ace". Now it seems to work but why monaco is not working? It is a fresh installation of all components. Can anyone explain me?

Best regards,
Markus

Bad install?

Something blocking the download/transfer of the monaco code? (check the network tab as you refresh, look for non 400s)

Try incognito/private (no plugins) mode

Try a different browser.

Hi Steve,
Thank you for your response.
When I use the incognito mode I got the same errors.
Only I can use the MS-Edge browser in our organization - always that's not easy :slight_smile:

I looked at the browser dev-tools when I use the ACE editor. Also there are some errors but the ui is working well.

I think you are right, that I have a bad install. But it's crazy there are no errors in the logs files for the node-red install. Now, I try a new install.

Best regards,
Markus

What if you try to use Monaco? That may indicate what the problem is.


It seems that monaco is not available. -> "...is not defined"

What do you see on the network tab?

Hi.
I'm so sorry for this effort.
I found out the problem. That's really stupid.
The server is a fresh install but the browser MS-Edge has the Version 86. OLD! Currently I have to wait for the update by our IT.
Until this I got a approval to test with google chrome. -> Red-Node works fine.

Have a nice weekend.

Best regards,
Markus

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.