We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got below error when try to create the excel for download
jszip is not a constructor TypeError: jszip is not a constructor at write_zip....
dependencies from package.json
"dependencies": { "xlsx": "^0.18.5", "jszip": "^3.10.1", "react-data-export": "^0.6.0", }
npm ls jszip ├─┬ js-xlsx@0.8.22 │ └── jszip@2.4.0 ├── jszip@3.10.1 └─┬ react-data-export@0.6.0 └─┬ tempa-xlsx@0.0.1 └── jszip@2.4.0
npm ls jszip
npm ls xlsx └── xlsx@0.18.5
npm ls xlsx
<ExcelFile filename="MicrobialCount" element={<SiMicrosoftexcel title="Export Data" style={{cursor:'pointer', height:'20px', width:'20px', color:'Highlight'}}></SiMicrosoftexcel>}> <ExcelSheet data={data} name="sample"> <ExcelColumn label="Date" value="date"/> <ExcelColumn label="Count" value="count"/> </ExcelSheet> </ExcelFile>
Look like the xlsx refer to old jszip version
Please advise how to fix the issue
The text was updated successfully, but these errors were encountered:
@huy1912 Did you find a solution to this problem?
Sorry, something went wrong.
No branches or pull requests
Got below error when try to create the excel for download
jszip is not a constructor TypeError: jszip is not a constructor at write_zip....
Dependencies
dependencies from package.json
npm ls jszip
├─┬ js-xlsx@0.8.22
│ └── jszip@2.4.0
├── jszip@3.10.1
└─┬ react-data-export@0.6.0
└─┬ tempa-xlsx@0.0.1
└── jszip@2.4.0
npm ls xlsx
└── xlsx@0.18.5
Look like the xlsx refer to old jszip version
Please advise how to fix the issue
The text was updated successfully, but these errors were encountered: