Skip to content

jszip is not a constructor when write a file using XLSXStyle.write() #17

@venkateswarannraja

Description

@venkateswarannraja

Hi, i tried to export by using this blog. I am able to download a file using XLSX.write() but i need to add background color to cell. So, i used XLSXStyle.write(). It is not working. I got below exception. Kindly assist me.

DifferenceComponent.html:222 ERROR TypeError: jszip is not a constructor
at write_zip (xlsx.js:11654)
at write_zip_type (xlsx.js:11770)
at Object.writeSync [as write] (xlsx.js:11784)

I searched more than 6 hours but not got any proper solution.
I checked this blog SheetJS/sheetjs#299. I don't know how to map xlsx.full.min.js instead of xlsx.js. Kindly assist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions