Filesaver.js: bower install not working

Created on 17 Apr 2018  路  9Comments  路  Source: eligrey/FileSaver.js

Bower install is not pulling in FileSaver.js. I believe that:

"main": "dist/FileSaver.js",
should be changed to:

"main": "src/FileSaver.js",

Most helpful comment

Currently only 1.3.3 version is working so in order to get that you can do "bower install file-saver#1.3.3"

You can also download this version by going to their release section by downloading this particular release dont worry if you see in the top comment section its version mentioned as 1.3.2 there is some problem in their release system i think but I was able to make 1.3.3 work for my chrome extension by putting this into content script section
Hope this helps

All 9 comments

But should version the dist folder (because the src file use "export" and for some browsers, we could have issues)

@eligrey is there anything that we can do to correct this? Do you want a PR?

Currently only 1.3.3 version is working so in order to get that you can do "bower install file-saver#1.3.3"

You can also download this version by going to their release section by downloading this particular release dont worry if you see in the top comment section its version mentioned as 1.3.2 there is some problem in their release system i think but I was able to make 1.3.3 work for my chrome extension by putting this into content script section
Hope this helps

Sounds like the same issue reported in #436 and #438. Does someone need to do a PR to clear this?

@bilalasif is correct. Only 1.3.3 version is working. Make sure you are using file-saver#1.3.3.

Is it possible to patch this? It's unfortunate and seems like a very quick update that would benefit a lot of people! If there was a bounty I would pay it!

I think this is the commit that caused the problem: https://github.com/eligrey/FileSaver.js/commit/b1158d0c33b1a22af311fdf66db04c6062b89b04#diff-0a08a7565aba4405282251491979bb6b

Webjar is broken too

please validate/update/correct your last file-saver version on bower. since version 1.3.6 file-saver does not contain any sources via bower!

Last installable version: 1.3.4

1.3.8. is the last bower version. 1.3.6 - 1.3.8 does not yet contain any source.
The last working bower version is 1.3.4.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bholyfield picture bholyfield  路  6Comments

strobec picture strobec  路  4Comments

carlosEdua picture carlosEdua  路  3Comments

binishprabhakar picture binishprabhakar  路  6Comments

mluis picture mluis  路  3Comments