Closed Steve-Mcl closed 2 years ago
@Steve-Mcl, thanks for giving it a try. Unfortunately, the Windows simulator is not currently supported. As the readme notes:
Flows run on ESP8266 and ESP32 MCUs, and in the Moddable SDK simulator on macOS computers
The MCUs can be quite inexpensive: basic modules are usually well under $10. Here's an ESP32 bundle and a single ESP8266.
FWIW – Windows simulator support is possible and we will get there. What's needed in this case is an ECMA-419 TCP socket implementation for Windows (which is what the MQTT support is built on).
I will make a note to add a better error message for unsupported simulator targets, so that others can more quickly understand what is going on here. Apologies for the trouble.
@phoddie thanks for the quick feedback. I scanned the readme several times but missed that particular line
No worries, I'm sure you'll get there with the windows support (I'd be happy with Windows or Linux simulator support TBH - I just dont/wont do "apple")
Also, I do have a spare ESP8266 knocking around - now to hunt down the relevant moddable docs on how to do it with one of those.
Also, I do have a spare ESP8266 knocking around - now to hunt down the relevant moddable docs on how to do it with one of those
Perfect. Since you already have the Moddable SDK installed on your Windows machine, you just need to add the ESP8266 tools. The details for that are here.
Hi
I was playing with this to get a feel for it but cannot get any further than
module "system" not found
when attempting to run this in the simulator on node-red (on windows box)executing
mcconfig -d -m
results in...I can however run other examples (e.g.
examples\helloworld
,network\mqtt\mqttbasic
andexamples\piu\balls
all work on simulator on windows)Any ideas?