Skip to content

TypeError: worksheet.addRows is not a function #86

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

Closed
microqiu opened this issue Mar 17, 2016 · 9 comments
Closed

TypeError: worksheet.addRows is not a function #86

microqiu opened this issue Mar 17, 2016 · 9 comments

Comments

@microqiu
Copy link

npm install exceljs
npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
script@0.0.0 /home/linfeiyang/Documents/script
├── blueimp-md5@2.1.0 extraneous
├── exceljs@0.2.4 extraneous
├── moment@2.11.2 extraneous
└── xlsx@0.8.0 extraneous

i get this error when i use it.

@bluedge
Copy link

bluedge commented Mar 18, 2016

I had the same problem.
I Checked the /lib I have in my node_modules got from npm install exceljs and the git here. On the local /lib/worksheet.js the "addRows" function is simply not part of the Worksheet.prototype .
Before a fix is found you can add this after line 174:
addRows: function(value) { var self = this; value.forEach(function(row) { self.addRow(row); }); }

@ketansp
Copy link

ketansp commented Oct 4, 2016

Any updates on this?

@Reggino
Copy link

Reggino commented Nov 25, 2016

Bump, same here.

@mrdav30
Copy link

mrdav30 commented Jan 19, 2017

bump, i added bluedge's line of code to \exceljs\lib\stream\xlsx\worksheet-writer.js, however trying to stream it doesn't recognize the commit() method

@kevin-work
Copy link

How has this not been fixed yet?

@ningmengs
Copy link

i have the same problem,worksheet.addRows is not a function,do you deal it?

@edwardfelix
Copy link

Any Solutions for this issue?

@gauravcleartax
Copy link

Facing this issue in 3.4.0 version. Any solution?

@Siemienik
Copy link
Member

#569

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

10 participants