jetstreamapp/jetstream

Uncaught RangeError: Invalid array length

paustint opened this issue · 0 comments

View details in Rollbar: https://app.rollbar.com/a/jetstream/fix/item/Jetstream/1511


RangeError: Invalid array length
  File "../../../node_modules/xlsx/xlsx.mjs", line 2292, in a2s
    	for(var i = 0; i < o.length; ++i) out[i] = String.fromCharCode(o[i]);
  File "../../../node_modules/xlsx/xlsx.mjs", line 2300, in write
    		case "binary": return typeof o == "string" ? o : a2s(o);
  File "../../../node_modules/xlsx/xlsx.mjs", line 27177, in write_zip_denouement
    	var out = z.FullPaths ? CFB.write(z, {fileType:"zip", type: /*::(*/{"nodebuffer": "buffer", "str...
  File "../../../node_modules/xlsx/xlsx.mjs", line 27157, in write_zip_type
    	return write_zip_denouement(z, o);
  File "../../../node_modules/xlsx/xlsx.mjs", line 27294, in writeSync
    		case 'ods': return write_zip_type(wb, o);
  File "../../../node_modules/xlsx/xlsx.mjs", line 27258, in writeSync
    	if(o.type == "array") { o.type = "binary"; var out/*:string*/ = (writeSync(wb, o)/*:any*/); o.ty...
  File "../../../libs/shared/ui-utils/src/lib/shared-ui-utils.ts", line 343, in excelWorkbookToArrayBuffer
      const workbookArrayBuffer: ArrayBuffer = XLSX.write(workbook, {
  File "https://getjetstream.app/index-FFsLenOw.js", line 4, in Yi
  File "https://getjetstream.app/index-FFsLenOw.js", line 4, in ct
  File "../../../node_modules/react-dom/cjs/react-dom.production.min.js", line 54, in Object.FZ
    typeof c)throw Error(p(231,b,typeof c));return c}var Lb=!1;if(ia)try{var Mb={};Object.definePrope...