Footage shared on social media showed a large wave crashing into a tent in the resort, in which popular Indonesian rock band Seventeen was performing. Members of the band were seen being swept away as the wave destroyed the stage.

Image copyrightSocial mediaImage caption
Band Seventeen were performing on stage when the tsunami hit

In a tearful Instagram video, singer Riefian Fajarsyah said the band's bassist and road manager had died, and three other band members and his own wife were missing.

It appears that the main road into Pandeglang has been badly damaged, making it difficult for rescuers to reach the area, she added.

Eyewitness Asep Perangkat said cars and containers had been dragged about 10 metres (32 feet).

Image copyrightGetty ImagesImage caption
Anak Krakatoa has erupted a number of times in recent months: this image was taken in July

"Buildings on the edge of [Carita] beach were destroyed, trees and electricity poles fell to the ground," he told AFP news agency.

Officials say more than 160 people were killed in Pandeglang - a popular tourist district on Java known for its beaches and national park.

Meanwhile, 48 were reported dead in South Lampung on Sumatra, and deaths were also reported in Serang district and Tanggamus on Sumatra. Officials fear the death toll could rise further.

So far, no foreign nationals have been reported dead, officials say.

What caused the tsunami?

By Jonathan Amos, BBC science correspondent

It is well known that volcanoes have the capacity to generate large waves. The mechanism as ever is the displacement of a large volume of water.

Except, unlike in a classic earthquake-driven tsunami in which the seafloor will thrust up or down, it seems an eruption event set in motion some kind of slide.

It is not clear at this stage whether part of the flank of the volcano has collapsed with material entering the sea and pushing water ahead of it, or if movement on the flank has triggered a rapid slump in sediment under the water surface.

The latter at this stage appears to be the emerging consensus, but the effect is the same - the water column is disturbed and waves propagate outwards.

After the tsunami struck, there was confusion over what had actually happened, with Indonesian disaster agency spokesman Sutopo Purwo Nugroho initially reporting it as a tidal surge.

He later apologised for his mistake, saying there had been confusion because there was no earthquake.

High seas as a result of the full moon might have contributed to the strength of the waves, the disaster management agency said.

The proximity of the volcano to the coast gave authorities very little time to act, Professor David Rothery from The Open University told AFP news agency.

"Tsunami warning buoys are positioned to warn of tsunamis originated by earthquakes at underwater tectonic plate boundaries," he said.

"Even if there had been such a buoy right next to Anak Krakatau, this is so close to the affected shorelines that warning time would have been minimal given the high speeds at which tsunami waves travel."