SAN DIEGO (KGTV) -- A fire that erupted in the garage of a Pacific Beach home early Tuesday morning forced a family and some neighbors to evacuate.

At around 4 a.m., a man reported that his golf cart caught fire inside the garage of his home in the 1500 block of Reed Avenue, authorities said.

As firefighters arrived, the flames spread throughout the garage and burning a Tesla in the driveway.

RELATED: Guardian Angels look to start street patrols in Pacific Beach

Because the fire spread close to a fence, several neighbors had to evacuate as a precaution.

Firefighters were able to knock down the fire before it spread further, with the damage mostly contained to the garage.

The Tesla, however, appeared to be completely destroyed by the blaze.

Neighbor Piviana Rius told 10News, “I was sleeping and I heard my neighbors screaming; I thought there was a big fight, as usually happens in PB, and I heard a big noise … it sounded like someone shot someone, but it was some part of the car exploded or something. We came out and we saw the house literally on fire.”

No injuries were reported.

RELATED: Police question solicitor seen swinging at woman

The cause of the fire is under investigation.