It is not that difficult to trap moles either, should they get used to the mole repellers over time.
The difficult part is to find the tunnels they actually use. If you put a trap in their meandering feeding tunnels it will be of little use, since they will just use them once and rarely return.
There are plenty of YouTube videos to learn how, and more importantly where, to set mole traps.
I can personally recommend the claw type traps, they are excellent, but it can perhaps also depend on which type of soil you have. Here I have loose sandy soil, and some type of traps do not work at all with that.
I trapped moles several years ago, and they have not come back. It took some practice and time to learn to do it right, so one shouldn't loose fate if it doesn't work right away.
If you don't succeed, most likely you just haven't found the main tunnels.