WDT Reset my ESP boards (ESP32/ESP8266)

My guess is that you’re using an inappropriate GPIO, and possibly confusing the NodeMCU PIN numbers with GPIOs.
You should read this:

Pete.