Try a homemade solution using vinegar or baking soda. Spray or sprinkle it where ants enter. The acidity repels them. You can also mix equal parts sugar and borax and leave it out. They’ll eat it and die. Just make sure to clean it up afterward so kids and pets can’t get into it.