Check ALL the diodes, primary and secondary sides and lift one lead if you need to.
Check the 2 caps near the FET, one will be the bulk storage for the controller IC and they are known to degrade with time.
Study the controller IC's datasheet for a "Typical Application" schematic that is often copied closely in designs.
Understand what undervoltage lockout means and how to check for it.
AND make yourself a Dim Bulb tester that only an incandescent bulb in series with the mains supply. You will be rewarded if you do in saved componentry as it will prevent full mains current from destroying parts in the primary side. Google it for more understanding.
