egeriis / zipcelx

Turns JSON data into `.xlsx` files in the browser
MIT License
294 stars 90 forks source link

Missing export default in file-saver dependency #54

Closed katafractari closed 5 years ago

katafractari commented 5 years ago

I'm getting

 WARN  in ./node_modules/zipcelx/lib/module.js
"export 'default' (imported as 'FileSaver') was not found in 'file-saver'

when using it in a Nuxt.js project. My import statement looks like this:

import zipcelx from 'zipcelx'

file-saver dependency resolves to 1.3.8, which does not do a ES6 style "export default". I'm using zipcelx 1.5.0.

katafractari commented 5 years ago

Workaround for this issue is to install the latest file-saver dependency.

npm i -S file-saver@2.0.0

egeriis commented 5 years ago

this may be fixed with #56