ESP 8266 WDT reset after uploading sketches

It's been a while since I have programed ESP8266s I bought 2 variants Node MCU small format With the ESP-12F chip and LoLin NodeMCU v3.

I have tried a variety of boards from the boardmanager Generic 8266, NodeMCU 1.0 and 0.9

I can upload and run the Blink example, but if the code gets more complex. Say, one of the dafruit Neopixel examples, etc. The code crashes and I get a WDT error

wdt reset
load 0x4010f000, len 3424, room 16
tail 0
chksum 0x2e
load 0x3fff20b8, len 40, room 8
tail 0
chksum 0x2b
csum 0x2b
v00041070
~ld

I even pulled an old 8266 I had from and older project and I still get the same error.

Running Expressif 8266 by community 3.1.2 I have also tried 3.0.0

a wdt reset typically results from code being in a loop without ever resetting the wdt as done by delay() or yield() (or ending and restarting loop() which incurs yield() )
Please share your code.