mgcrea/node-xlsx

TypeError: Cannot read property 'split' of undefined

woodholly opened this issue · 1 comments

I see this error in decode_range function, it happens every day (xlsx processes different xls files from different users)
Version: xlsx 0.15.6
Any idea why this happens ?

Warning: node_xlsx failed to transform file to html (/var/www/html/node_modules/xlsx/xlsx.js:3560
function decode_range(range) { var x =range.split(":").map(decode_cell); return {s:x[0],e:x[x.length-1]}; } ^
TypeError: Cannot read property 'split' of undefined at decode_range (/var/www/html/node_modules/xlsx/xlsx.js:3560:45)
at Object.sheet_to_html [as from_sheet] (/var/www/html/node_modules/xlsx/xlsx.js:19351:11) at write_str (/var/www/html/node_modules/xlsx/xlsx.js:20251:18)
at writeSync (/var/www/html/xlsx/xlsx.js:20886:41)
at Object.writeFileSync (/var/www/html/node_modules/xlsx/xlsx.js:20929:9) at /var/www/html/node_modules/xlsx/bin/xlsx.njs:225:6
at Array.forEach () at /var/www/html/node_modules/xlsx/bin/xlsx.njs:223:17
...

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.