Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Solved: creating a buffer #336

Open
ricardomiranda-allims opened this issue Feb 25, 2021 · 0 comments
Open

Solved: creating a buffer #336

ricardomiranda-allims opened this issue Feb 25, 2021 · 0 comments

Comments

@ricardomiranda-allims
Copy link

Describe the bug
UnhandledPromiseRejectionWarning: TypeError: promiseObj.wb.Worksheet is not a function

To Reproduce
wb.writeToBuffer() on express.js

Expected behavior
genereta a buffer

Environment (please complete the following information):

  • OS: Windows 10
  • Node Version: 12.18.0
  • excel4node Version: 1.7.2
  • Application: Microsoft Excel
  • Application Version (if applicable): current office 365

Additional context
In file ".\distribution\lib\workbook\builder.js"
Change "promiseObj.wb.Worksheet();" to "promiseObj.wb.addWorksheet();"

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

No branches or pull requests

1 participant