maybe i just bought cheap tape, but i've definitely found gaffers tape to leave a residue if left in place for a couple years. especially on electronics that are generating some heat.
There’s some really crappy offbrand gaffer tape on Amazon these days. The “pro gaff“ brand which costs around $30 a roll is the good stuff I recommend. (Source: I run a theater and pay hundreds of dollars a year for gaff tape. I have tried a wide variety of brands and price points.)