I may have the same problem, starting from a different point. I'm using
IDE 2.04
NodeMCU 0.9
and fighting several problems.
I want to do OTA loading of the sketch. I found that after executing the BasicOTA example, my IP address disappeared after loading and running the real sketch, which communicates with IO.adafruit.com. I found advice saying that most of the BasicOTA sketch should be copied to the real sketch, and I did that. It compiled without error.
Because of the OTA uploads, I am also experiencing the bug where the "uploading" message displays forever, even though the upload has been successful. This requires restarting the IDE.
When the IDE came up, it suggested updating libraries and boards. The libraries went OK, but the board update, for EPS8266 failed. (well of course it would)
Platform esp8266:[email protected] installed | |
---|---|
Failed to install platform: esp8266:esp8266. | |
Error: 14 UNAVAILABLE: read ECONNRESET |
I recognize "ECONNRESET" from another message in this thread.
Now when I click "Verify", it says
"No connection established
Compilation error: No connection established"
This is despite other portions of the IDE showing a NodeMCU 0.9 connected at 192.168.0.216 .
After restarting the IDE, it worked a few times but now I'm getting
"Failed uploading: no upload port provided"
In all of these cases, tools/port shows an IP address with a checkmark, and the IP address responds to ping.
Are there any suggestions or other info I can provide?