I will assume we're all familiar with one of the popular gripes/issues with Voyager and no, for once - it's not a Tuvix thread.
Today we're defending the torpedo/shuttle count.
In many of the discussions on this topic (especially regarding the torpedoes) key context is often ignored or otherwise not mentioned.
So let's start with said Torpedoes.
The line about Voyager not being able to replace their 38 (of a total 123 fired over the series) torpedoes once they're gone was in 'The Cloud', the fifth episode of the series.
At this point in the series Janeway was (as established in the conversation about Torres' Starfleet procedure breaching dilithium refinery in the previous episode) reluctant to step outside of Starfleet procedures. Especially I would imagine for the purposes of replicating antimatter based weaponry for obvious explosion related reasons.
Voyager was also hesitant to trade technology at this stage, a policy that clearly was relaxed as the truly dire reality of their situation was realised - evidenced by them giving holo technology to the Hirogen amongst various other trades (successful, or attempted as was the case with the Malon).
From Voyager's perspective at this stage also the major races they had encountered in the Delta Quadrant were either primative, or wanted to steal organs. Neither making for great allies. Janeway was likely also conscious that they could stumble into borg space at any moment and so would want to conserve their munitions as much as possible.
We see a number of 'Voyager trades with people' episodes as the show goes on and the most relevant one here is the (otherwise shameful) episode Retrospect where Voyager is seen actively trading and shopping for weapons.
With this context, it's easy to see how the torpedoes ended up being replenished despite the line in episode 5. They traded for the raw materials or components and built them.
As for shuttles, they literally built the Delta Flyer - a highly experimental Tom Paris napkin scribble of a design within a week. Then blew it up and built it again with even more experimental technology.
They clearly had a lot of practice (re) building shuttles by season 5 to pull that off!
100% that is a reference to being able to build new shuttles. The only plot hole is in some people's heads not being able to apply context and requiring things to be explicitly said to counter a different explicit statement, which is ridiculous.
The Delta Flyer was clearly more capable than a standard shuttle, that was why it was necessary. If they can build that in a week then clearly a standard shuttle isn't an issue with the raw materials. At episode 5, access to those materials is questionable, throughout the show we clearly see they can do things they would never have been able to do at the beginning. No idea why people get so stuck on the shuttles and torpedoes while the ship itself looks like it just came out of drydock 99% of the time.