What was his main fault? Overburdening himself with lighthouses and so falling behind in the gold race?
1) He didn't open with any cards that give coins. In my opinion, your opening has to be very powerful(something like Chapel/Treasure Map or Ambassador/Ambassador) to avoid opening with some sort of silver. Smugglers does not count.(This may be personal taste, but I don't like smugglers at all; for example, if you'd bought a silver instead, you could've gotten a gold on turn 3)
2) spending 4 on a NV on turn 5 when he only had 2 terminals in his deck(if he'd bought a silver instead of that smuggler he could've gotten a gold on both turns 4 and 5!)
3)Spending 7 on a ghost ship on turn 14 against the 4 lighthouse deck.
4)Not particularly relevant, but the turn 20 bazaar buy should definitely have been a duchy.
About lighthouses vs silvers, I'm not sure; I know that without attacks, lighthouse is worse, but I don't know by how much, so I don't feel confident in saying that I know how many to get against your ghost ships there. That said, I would've skipped the lighthouse buys entirely and bought silvers.
Other than your opening*, I think you played well. The only clear mistake I can see is buying a festival over a bazaar, since you can't do anything interesting with the buy, and a card is definitely better than $1, especially on a village. Oh actually, you probably should've bought a province on turn 12 and a gold on turn 13, missed that the first time through.
*I would open either hag/silver or hag/lighthouse here.