Making the two new UK aircraft carriers dependent on natural gas has to be one of the worst military procurement decisions of the modern era.
Today, it seems unlikely that a Royal Navy aircraft carrier will be far from friendly ports. More likely for it to be used to launch air attacks against a relatively weak adversary (think of something like the military actions near the Arabian peninsula in the last 50 years or so). There are also Royal Navy oilers and other logistics ships that can replenish fuel or other resources.