laverna
laverna copied to clipboard
FileSaver.js broken in bower
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:
- Manually download the 1.3.4 release of FileSaver.js from https://github.com/eligrey/FileSaver.js/releases/tag/1.3.4.
- Copy FileSaver.js to app\bower_components\FileSaver
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.
Same error for me - FileSaver directory contains only two files: bower.json
and LICENSE.md
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.
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
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.