Skip to content

ExcelJS not able to load file #1621

New issue

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

Open
paramjeetnandal opened this issue Feb 22, 2021 · 3 comments
Open

ExcelJS not able to load file #1621

paramjeetnandal opened this issue Feb 22, 2021 · 3 comments

Comments

@paramjeetnandal
Copy link

Library is not able to read some of the formats of Excel using function
Code I am using to read the file:
code just hangs on line: workbook.xlsx.load(data).then(function() {

const workbook = new ExcelJS.Workbook();
const listData: any = [];
const arryBuffer = new Response(file).arrayBuffer();
arryBuffer.then(function(data) {
workbook.xlsx.load(data).then(function() {//code hangs here
const worksheet = workbook.getWorksheet(1);

@hofnarwillie
Copy link
Contributor

+1

@zurmokeeper
Copy link
Contributor

@paramjeetnandal Can you provide your excel file?

@hofnarwillie
Copy link
Contributor

I have created a fork to fix my issue. Not sure if that is the same problem for the OP.
#2132

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants