RTCWDT_RTC_RESET issue on ESP32

I’m getting this error on ESP32 (8MB) board. I tested the simple code it works fine. I’m using MQTT, OTA and LittleFS also in project.

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13232
load:0x40080400,len:3028
entry 0x400805e4

This is my platform.ini file

[env:esp32doit-devkit-v1]

platform = espressif32

board = esp32doit-devkit-v1

framework = arduino

monitor_speed = 115200

board_upload.flash_size=8MB

board_upload.maximum_size = 8388608

board_build.filesystem = littlefs

board_build.partitions = partitions.csv

upload_speed = 115200

board_build.flash_mode = dio

lib_deps =

knolleary/PubSubClient@^2.8

bblanchon/ArduinoJson@^6.21.2

https://github.com/tzapu/WiFiManager/archive/refs/heads/master.zip

And this is my partition.csv

Name, Type, SubType, Offset, Size, Flags

nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x200000,
app1, app, ota_1, 0x210000, 0x200000,
spiffs, data, spiffs, 0x410000, 0x280000,

On my lab computer it is working fine the same code on same ESP32.

Could be a power issue (brown out).
If this happens on one computer but not on another with the same code and ESP32 board maybe the USB port of the computer is weak.

Thanks for reply.
I also tried using direct powering the ESP32 with power adapter (mobile charger) but still same