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
/Users/.../api/node_modules/table/dist/src/wrapString.js:21
chunks.push((0, slice_ansi_1.default)(subjectSlice, 0, size));
^
RangeError: Invalid array length
at Array.push (<anonymous>)
at wrapString (/Users/.../api/node_modules/table/src/wrapString.ts:18:12)
at wrapCell (/Users/.../api/node_modules/table/src/wrapCell.ts:29:30)
at wrapRangeContent (/Users/.../api/node_modules/table/src/alignSpanningCell.ts:36:18)
at getContainingRange (/Users/.../api/node_modules/table/src/spanningCellManager.ts:58:42)
at Object.getContainingRange (/Users/.../api/node_modules/table/src/spanningCellManager.ts:131:14)
at /Users/.../api/node_modules/table/src/calculateRowHeights.ts:23:59
at Array.forEach (<anonymous>)
at calculateRowHeights (/Users/.../api/node_modules/table/src/calculateRowHeights.ts:22:9)
at Proxy.table (/Users/.../api/node_modules/table/src/table.ts:52:41)
What happens?
Running code presented below hangs the program, spins up CPU to 100%, and causes memory to grow until program crashes with Node error.
Error
For versions of node < 22
Node 22.x.x
Code causing issue
Expected output
Notes
{row: 3, col: 0, rowSpan: 3},
from table config makes program run again, so this is the line causing problems.columns: {0: {width: 10}}
The text was updated successfully, but these errors were encountered: