If your no-bake cookies did not set correctly, this most likely happened because the coconut oil-cocoa powder mixture was not heated to a high enough temperature. Make sure the liquid boils for a full minute before removing the saucepan from the burner.