sonntam / node-red-contrib-xstate-machine

A xstate-based state machine implementation using state-machine-cat visualization for node red.
MIT License
22 stars 8 forks source link

Can't find xstate #41

Closed vacquah closed 2 years ago

vacquah commented 2 years ago

Hello - I installed xstate from the node-red palette manager. ( v.1.2.2). Running node-red in an ubuntu 21.10 vm, node version 14.18.3, node-red version 2.1.6.

Everything shows up correctly, except in the editor, I get the error below. Any ideas?

xstate

sonntam commented 2 years ago

Thank you for trying smxstate! Indeed, I could reproduce the problem when changeing the used code editor from "ace" to "monaco" in settings.js:

editorTheme: {
    codeEditor: {
        lib: "monaco"
    }
}

With the "ace" editor no problems are shown. I'll have to take a look why.

vacquah commented 2 years ago

Not sure if this helps, but I have 2 installs of node-red. The first is on node-red version 2.1.6 ( where I noticed this problem ). That has the editor already set to "ace" but still has the problem.

I setup a fresh install - this time around, on version 2.2 of node-red, with "monaco" editor. Changing to "ace" on this one fixed the problem on it.

Thank you for this module. Got a few questions about how to set somethings up. Email ?

sonntam commented 2 years ago

The problem has been fixed in V1.2.3.