SpaceX's Starhopper – a prototype of the rocket it hopes will one day fly around the solar system – had a failed launch test that ended with it being surrounded by flames.

The company was aiming to try the first "untethered" test of the rocket, which was intended to allow it to jump up into the air and then come back down again, without the restraining ties that have held it down in previous attempts.

But as the test began, the rocket failed to launch and it stayed on the ground as flames poured out of its rocket. Another flame flew out of the top of the rocket, as can be seen on the video.

The rocket itself appeared to survive without problems, but it is just the latest in a run of issues. It came a week after the Starhopper craft flew a fireball out of its bottom during another test.

It was the first time that SpaceX has allowed one of the tests to be streamed. Previous attempts have happened in private – with spectacular descriptions of the launches leaking out after.

Best NASA pictures of the month - June 2019 Show all 15 1 /15 Best NASA pictures of the month - June 2019 Best NASA pictures of the month - June 2019 A coronal mass ejection as seen by the Chandra Observatory. This is the first time that Chandra has detected this phenomenon from a star other than the Sun Nasa Best NASA pictures of the month - June 2019 A SpaceX Falcon Heavy rocket launches from NASA's Kennedy Space Centre in Florida NASA / Joel Kowsky Best NASA pictures of the month - June 2019 Star clusters Cepheus B (top-right section) and Cepheus C (mid-left) as captured by NASA's Spitzer Space Telescope NASA/JPL-Caltech Best NASA pictures of the month - June 2019 An unexpected eruption by the Raikoke Volcano on the Kuril Islands as captured from the International Space Station NASA Best NASA pictures of the month - June 2019 Jupiter as captured by NASA's Juno spacecraft NASA/JPL-Caltech/SwRI/MSSS Best NASA pictures of the month - June 2019 A SpaceX Falcon Heavy rocket is seen shortly after launch NASA / Joel Kowsky Best NASA pictures of the month - June 2019 The Coma Galaxy Cluster as captured by NASA's Chandra Observatory, a telescope that captures x-ray emissions in space NASA/CXC/University of Chicago Best NASA pictures of the month - June 2019 Venus (bottom middle) is seen in the distance as the sun rises over earth as seen from the International Space Station NASA Best NASA pictures of the month - June 2019 Aurora Australis as seen from the International Space Station NASA Best NASA pictures of the month - June 2019 A galactic storm rages in the Teacup galaxy NASA Best NASA pictures of the month - June 2019 The galaxy Messier 59 as seen by the Hubble Telescope NASA / ESA Best NASA pictures of the month - June 2019 A Russian Soyuz MS-11 space capsule carrying astronauts returning from the International Space Station lands in the steppes of south-east Kazakhstan NASA / Bill Ingalls Best NASA pictures of the month - June 2019 The galaxy NGC 7773 as captured by the Hubble Telescope NASA / ESA Best NASA pictures of the month - June 2019 Tumultuous clouds in Jupiter's northern hemisphere NASA Best NASA pictures of the month - June 2019 Russia's Kamchatka Peninsula as seen from space NASA

“It appears as though we have had an abort on today’s test. As you can see there, the vehicle did not lift off today,” SpaceX engineer Kate Tice said on a live stream provided by the company. “As I mentioned before, this is a development program, today was a test flight designed to test the boundaries of the vehicle.”