Sorry - I am not a programmer, so I don’t know the details…just that custom apps often clash with the main code and cause such problems.
The error message in your picture indicates a mismatch in names in the desk.min.js - but as I said, I am just guessing
The first line in the Inspect Elements setting is a depreciation warning and its not causing the report to pdf service to fail. I expect the second line with RED text is the culprit which indicates something wrong in report.min.js.
But tried comparing report.min.js where the pdf generation works fine with that of mine its completely similar. But in my configuration its causing issue.