I am trying to prove P∧(Q∨R)→(P∧Q)∨(P∧R) from P∧(Q∨R) using Natural Deduction.
Here is my attempt using JAPE application.

I am confused between step 3 and 4.
So I have Q∨R. When ever I apply V-elimination rule, I get this output below, so I get an output and I apply again V-elimination rule. It is like infinity

not sure what you are trying to do but here the proof as I would do it: (but I don't use jape)