When I'm adding jspdf script as required on a page I'm getting the following error:
https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js
If you could share a sample application, someone could try to troubleshoot the issue.