Hold on and stick to it. The problems will be solved in just a minute as long as you hang on for some time. It is like a change of temperature when the days are so hot and you are even not willing to go out and fetch the delivery package. You could never imagine someday the temperature would change drastically from hot to cold. Just take hot as your problem, the key to solve it lies on the days to take changes. So when problems come, there is no need to be anxious on when one can get rid of it or figure out a roadmap on day one. When the days come, the problem cures itself. This is what I recently learnt from experience.
Recently, I watched the speech that Steve Jobs delivered in 1992. He mentioned that technology windows will be out there for about 5 years. And every serious product has been the result of 5 years of prototyping. What resonates with me is that 5 years of prototyping is just an example of waiting for the temperature to turn around. You may say you don’t have the time to do it today. But it won’t be the case afterwards.
As a summary, I think that persist along the miserable path is the right way to get rid of the miserable path, since it won’t be always so as days coming along.
There are 2 technical details that helps. First, always believe that good things will happen. Elon Musk once said in an interview, I’d rather be optimistic on wrong rather than pessimistic on right. Second, train the ability to face the emotion storm directly. Experience tells that you can observe it as if from the third person vision, watch its shape as if it should have a shape of some kind.