Skip to content
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

FileSaver.js broken in bower #963

Open
daed opened this issue Jul 16, 2018 · 4 comments
Open

FileSaver.js broken in bower #963

daed opened this issue Jul 16, 2018 · 4 comments

Comments

@daed
Copy link

daed commented Jul 16, 2018

This is assuming you are working from a cloned version of the master branch:

I don't understand bower well enough to speak intelligently about this, but FileSaver.js doesn't install properly when executing "bower install". I think this is something broken on that package maintainer's side, not on laverna's side.

I couldn't get the latest version of FileSaver.js to work properly having tried via a few different methods. Eventually I found a workaround:

After this, the rest of the setup worked properly. I'm sure there's a way to fix this via bower, but I don't know how yet.

@petrkrejcik
Copy link

Same error for me - FileSaver directory contains only two files: bower.json and LICENSE.md

@avanaur
Copy link

avanaur commented Oct 23, 2018

Got the error as well.

Seems due to FileSaver 1.3.8

I ended up setting FileSaver version on bower.json to 1.3.3 instead of * to make it work.

@menjunyi
Copy link

menjunyi commented Sep 27, 2020

Got the same error

After search FileSaver.js in current file, I found that the correct path of FileSaver.js is app/bower_components/FileSaver/dist/FileSaver

Then I edit /app/scripts/main.js, set the path of fileSaver to ../bower_components/FileSaver/dist/FileSaver. It works.
Might caused by different version of FileSaver

@funilrys
Copy link
Contributor

funilrys commented Oct 3, 2020

Hi @menjunyi @avanaur @petrkrejcik

Unfortunately, this issue will never be fixed here.

Please report to #998 for the current state of this project and https://github.com/encryptic-team/encryptic for the future of this project.

Stay safe and healthy.

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

5 participants