Use a torch. They have very little health but are difficult to target. Using fire lights them up and kills them quickly and safely.

Bonus points if they are attacking at night, as you will have several extra, flying torches for a few seconds!

More Meganeura Encountering Tips