Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

angular-file-saver is not installed

Hi All Experts of Angularjs I am using bower install for my angular project

"file-saver.js": "^1.20150507.2",
"angular-file-saver": "^1.1.3",

I am getting error when bower install, FileSaver repository not found, I checked it in GitHub, This repository really was gone away.

https://github.com/Teleborder/FileSaver.js.git#~1.20150507.2

Help me!!! How can I fix this issue.

like image 971
Aron Maxwell Avatar asked Nov 27 '25 02:11

Aron Maxwell


1 Answers

same problem here. Just make this changes:

Add to your .bowerrc

"ignoredDependencies": [
    "file-saver.js"
 ]

Then in bower.json

"dependencies": {
   ...
   "file-saver": "2.0.4",
   ...
},
"overrides": {
   ...
    "angular-file-saver": {
      "dependencies": {},
      "main": ["dist/angular-file-saver.js"]
    },
    "file-saver": {
      "main": "dist/FileSaver.js"
    },
   ...
}
like image 134
nikasio Avatar answered Nov 29 '25 20:11

nikasio



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!