Does the breaker trip when you flip the switch?
Pull the switch out of the wall to see what wires are on it.
Pull the switch out of the wall to see what wires are on it.
True the ground is not needed, OP stated that there were only 2 ground wires, was hoping the switch loop didn't have it as it would be easier to identify which wire went to switch.You indicated that there is only 1 black and 1 white from the switch box. Can you verify this? Pull the switch and tell us what wires are there and what they are connected to. DO NOT UNHOOK ANYTHING IN THERE we don't need to make this worse. For this exersise in troubleshooting the ground wire is irrelevant in making the circuit work.