A magnitude-6.4 earthquake off the the coast of Taiwan has killed at least two people, and may have left some trapped inside a building, CNBC reported.

The U.S. Geological Survey says the quake struck late Tuesday about 13 miles northeast of Hualien, on the island's east coast.

At least two people have been killed and more than 100 have been injured, Reuters reported from a government official.

Taiwan's official Central News Agency reported that the ground floor of the Marshal Hotel, a building in Hualien district, had caved in and people were believed to be trapped inside. The agency posted photos showing a road fractured in several parts.