I would use grass, ground or dragon types. Some aren't effective against electric type, but electric isn't very effective against them.
Chat with our AI personalities
Ground types
Since Lugia is a Psychic/Flying type pokemon, I would try Ghost types and electric types. Ice types are also a good choice
water, fighting,
FIRE ELECTRIC PSYCHIC
Ground type is the only type effective to electric type.