I don't think one way is necessarily better than the other
in theory, but in practice, I almost always find myself enjoying RPGs with no puzzles in their dungeons better.
The biggest reason is that puzzles (even "puzzles in disguise" like find all the torches or push blocks all over the dungeon to create a traversable bridge) can get the player stuck. These puzzles might be fun if they
seem challenging yet the player has no problem solving them. But if they actually
are challenging to the player - and players are going to have wildly different capability to solve certain puzzles - they can make it impossible for the player to progress, which is suicidal design in an RPG. It grinds any fun the player was having to a dead halt.
In addition, I tend to mostly play RPGs where the battle system looks like it's very fun in itself, and not just an obstacle thrown in to give the game some "gameplay". So when the story and the battle system and the exploration and the character management are all fun, puzzles usually just feel like something that gets in the way and stops me from having fun for X amount of time (since you're unlikely to do any of those things in the middle of trying to solve a puzzle).
On the other hand, most of these concerns disappear if I don't
have to solve the puzzle. If the puzzle is clearly optional (a little side room with an encased treasure chest), or the game's structure is set up so that failing to progress right now in the dungeon doesn't mean failing to progress in the game (like in
Skyrim or most of
Banjo-Kazooie), or even in the case of failure the player can move on, all of a sudden that puzzle only feels like an enjoyable change-of-pace challenge with a reward, rather than an obstacle to enjoyment and progress.
That last method, I think, is really interesting, because it's something that every single RPG (that doesn't make puzzles strictly optional or offer a wide array of objectives at any given time) should use to maximize player enjoyment, but very few games actually use it. And there are several different ways to pull it off, too. For example:
* You could have party members give more and more hints as the player spends more time "working on" the puzzle without solving it, up to the point where they offer to do most of the puzzle
for the player
* You could have some sort of "Skip Puzzle" feature (in whatever way makes sense with the story and the characters' powers) that allows the player to entirely skip a puzzle in return for losing out on a reward (
Simple Man's Quest is a good RPG Maker game that did this)
* You could make the puzzles "failable" where the player doesn't even get to try again, but moves on anyway, with fewer rewards and a different dialogue/animation sequence, if they fail (I do this with all puzzles and minigames in
timeblazer)
* You could make the puzzles affect the battles in some way (
Tales of Graces f's final dungeon did this) so that the player solves as much as they can, and must take on increased battle difficulty for the parts they can't (or don't want to) complete