Hi, I've added jsPDF-AutoTable on my project (Angular 9) yesterday and encountered this issue.

import jsPDF from 'jspdf';
import autoTable from 'jspdf-autotable';
const doc = new jsPDF('l', 'pt', 'letter');
autoTable(doc, {
body: this.items.getValue(),
columns: this.columns.map(a => ({ header: a.headerName, dataKey: a.field }))
});
Can you check the version?
Version:
"jspdf": "^1.5.3",
"jspdf-autotable": "^3.5.2",
I have the same problem
"jspdf": "^1.5.3",
"jspdf-autotable": "^3.5.2",


startY: 70 - will cause the error but if I adjust it to 75 and up, it's working
Oh. This is most likely fixed on master. Will release npm version asap.
Released 3.5.3 now that hopefully fixes this issue. Can you see if it works for you?
Confirmed working now for version 3.5.3. Thank you so much.
Btw, how is the new autoTable(doc, {/* options */}) syntax working for you? Any issues with types or something else getting started?


I haven't encountered any issues yet. It is working fine. :)
It's working. Thank you so much.
Most helpful comment
Released 3.5.3 now that hopefully fixes this issue. Can you see if it works for you?