protobi / js-xlsx

XLSX / XLSM / XLSB (Excel 2007+ Spreadsheet) / ODS parser and writer
http://oss.sheetjs.com/js-xlsx
Other
814 stars 416 forks source link

jszip is not a constructor #182

Open Jude214 opened 1 year ago

Jude214 commented 1 year ago

on version 0.8.13,the brower reports such an error when export a file: image

this is caused by code in xlsx.js: image

we need to replace the code above with this: if(typeof jszip === 'undefined') jszip = require('./jszip.js');