try lowering the supply voltage to 9Volts, 12 volts is the max supply voltage for most LM386 chips , it is possible that you have a bad wire or solder joint, or speaker, however I would lower the supply voltage 1st. 9 volt batteries are cheap.
Rock On
Rock On