I've experienced a bug which if will get confirmed can make esp8266 (or nodemcu) useless in a "real environment". After few years of "being connected but not touched", device which has a simple http server stoped responding.Restart doesn't help. I connected it to serial port and realized that "init.lua is missing". I cannot reupload it. After performing file.format() it started working correctly.
Any ideas what can be reason of the problem?
Thanks!