Not had problem with a bike
But a car of mine had same problem.
Could pull back stalk and lights would flash but not stay on, it turned out to be the switch itself was toast.
You could try removing switch and spray with good old WD40, couldn't hurt.
Good luck