Quick start - Step 5 - Build app firmware ... Error: exit status 2

I am trying the first example (app1) and immediately without success.
The build process is ending with error…
My HW is esp8266 with 1MB of flash ( ESP-01) but the same error I get with bigger flash (Wemos D1 Mini).
Is there anyone who will enlighten me at the beginning?

Look at the last part of the LOG…

Did you build with --platform esp8266 --build-var FLASH_SIZE=1048576?

It looks like you did. api_dataview.js should not be added for ESP8266 with 1M and 2M flash size.

Thanks, it has somehow helped… build seems to be OK but I can’t set my WiFi…
I see in the log …“MJS error: stack underflow”… please look at the LOG and help me again… step by step… thank you in advance…
P.S. I have tried the whole process with ep32… there is all OK… but I have a heap of ESP-01 which I would like to use…

With such a small amount of flash, I’d suggest to abandon the demo-js application and write your own including only the libraries you use (ie. get rid of - origin: https://github.com/mongoose-os-libs/js-demo-bundle).

A good start is empty

You are surely right but you should set up QuickStart = Demo the way that esp8266 with 1M or 2M flash shouldn’t be possible to select… or minimal to write somewhere "short warning for 1M or 2M flash ".