You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fromHTML function was removed, use html instead. Regarding the unexpected token issue: use import { jsPDF } from "jspdf". Regarding "the request of a dependency is an expression" see #2846. If 1.5.3 works for you, you can of course continue using it.
The issue is same on the below issue:
https://stackoverflow.com/questions/63431310/angular-jspdf-warnings-uncexpected-tocken-and-jspdf-fromhtml-is-not-a-function/63547200#63547200
My env is Angular 7.x. If jspdf downgrade to 1.5.3, pdf file can be generated successfully.
The text was updated successfully, but these errors were encountered: