Why does my Zucchini just produce flowers and no fruit? There seems to be some kind of blight or rot.
Why Does My Zucchini Produce Flowers and No Fruit?
Certified GKH Gardening Expert
This is typical behavior for a squash plant. They will produce mostly male (non-fruiting) blossoms early in the season and will gradually start to produce more female blossoms as the season progresses. Give it some time and you will see it start fruiting.
It's also possible that you have a pollinator problem and you may need to hand pollinate. These articles will help with that: