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
I have this working on my local machine, but it does not work on the dev server.
The excel file does not download, and I get this error: Uncaught TypeError: g.Workbook is not a constructor
I have tried the solutions offered on ticket #960 with no success.
Lib version: 4.4.0
Steps To Reproduce
I am using React + Typescript.
This is the import: export * as ExcelJS from 'exceljs';
An xlsx file should download with a worksheet title "Sheet 1"
Possible solution (optional, but very helpful):
The text was updated successfully, but these errors were encountered:
anneprillo
changed the title
[BUG] Works locally, but not on server
[BUG] Works locally, but not on server - TypeError: g.Workbook is not a constructor
Oct 29, 2024
🐛 Bug Report
I have this working on my local machine, but it does not work on the dev server.
The excel file does not download, and I get this error:
Uncaught TypeError: g.Workbook is not a constructor
I have tried the solutions offered on ticket #960 with no success.
Lib version: 4.4.0
Steps To Reproduce
I am using React + Typescript.
This is the import:
export * as ExcelJS from 'exceljs';
This is how I create the workbook:
The expected behaviour:
An
xlsx
file should download with a worksheet title "Sheet 1"Possible solution (optional, but very helpful):
The text was updated successfully, but these errors were encountered: