i amm havingh the same problem, how do you actually delete the mod because i have done it in files and the problem still comes up, and i cant open minecraft to delete it in the actual game menu where it says mods.
im not really sure how to, i cant copy the thing that comes up,it mostly just says it cannot open mninecraft because a duplicate miod has been detected