no cranking but dashlights/gauges on, might mean a starter relay that is sticking. Also can be a starter that was going bad and finally failed. Sometimes if you bang on the starter with a tire iron it might loosen the solonoid so it cranks over. I went months doing that to start my car because sometimes it wouldnt crank over.
Before replacing starter I would check to make sure the bolts holding the starter are on there tight. One time the starter wouldnt start I bought a new starter, when I went to replace it, I found the starter bolts loose I tightend it and that fixed it.
I would check the starter relay first.