I had this issue too with my 87 245.
It simply was moisture inside the distributor cap.
It was a rainy day, I drove in a flooded street, then I stopped to check if everything was ok and I never was able to start the car again until I checked inside the distributor cap m. It was full of condensed water and the copper contacts were oxidated.