A magnitude 6.5 earthquake struck off the coast of the Pacific island nation of Vanuatu on Friday, the U.S. Geological Survey said.