Have you tried temporarily plugging this into a GFCI receptacle? Your bathroom vanity should be on a GFCI circuit, but it may not be if it is older. If everything works fine using a known good GFCI receptacle, then I would suspect either the GFCI ...
More Information
More Information