Replaced an outlet and a switch. Switch works but outlet doesn’t. No voltage measured
You appear to have connected a black wire to the grounding screw on the switch. I would guess that is the black wire that connects to the outlet that now has no voltage.
Presumably this is, in fact, NOT the way things were wired before. You likely need to connect that black wire to either the &quot;always hot&quot; or &quot;switched hot&quot; on the switch (dependng on whether the outlet should be switched) and either connect a bare grounding wire to the grounding screw and a ground screw on the box, or let the contact between the metal box and the metal yoke be the grounding connection for the switch.