The QR code is never generated during the initial WhatsApp (Baileys) connection.
The backend never reaches the QR generation step
The UI only shows the “Scan the QR code” modal
The frontend never receives the QRCODE_UPDATED event
As a result, the instance stays stuck in a loop, waiting indefinitely