Hi MISS
If the flame ignites only a few times at the beginning and then the igniter glows but the gas does not coming out, then the problem is a bad coils on the gas valve. Replace them and the problem solved.
The set of the coils
- The part number for the set of the gas valve coils
AP3094251
Good luck.
Gene.