question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing Bower Dependency

See original GitHub issue

We are seeing a legacy angular build of ours fail due to what appears to be the disappearance of file-saver.js#~1.20150507.2 . The repository it comes from https://github.com/Teleborder/FileSaver.js.git/ is no longer listed on github.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:9

github_iconTop GitHub Comments

19reactions
elquimerascommented, Apr 21, 2022

Same here…

I crated a PR with a FIX https://github.com/alferov/angular-file-saver/pull/49

If you want to use in your repo to test purposes just now, you can put in your bower directly from my repository

"angular-file-saver": "https://github.com/elquimeras/angular-file-saver.git#hotfix/update-file-saver-module",

Hope works for you!

7reactions
elquimerascommented, Apr 22, 2022

Y left in NPM a fork with the fix…

I hope the authors of this package returns and merge this PR related to continue using this If not, your’re able to use this new package

NPM

  • npm i ng-file-saver

BOWER

As Bower is deprecated, registering new Bower packages is not supported anymore. Neverthless you can install any GitHub repository as Bower package by putting full name in bower.json:

{
  "dependencies": {
    "angular-file-saver": "elquimeras/ng-file-saver#^1.1.4"
  }
}

You can install any dependency from github with CLI as well:

bower install elquimeras/ng-file-saver --save

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does bower not seem to install the missing dependencies ...
I get this error: $ ember server --proxy http://localhost:3000 Missing bower packages: Package: jquery * Specified: ^1.11.1 * Installed: 2.1 ...
Read more >
Run bower to install missing dependcies - Ember.JS
I would try to delete ember-cli-sri folder from the node_modules folder and run npm install again. Do you have this also when you...
Read more >
bower - npm
There are no system wide dependencies, no dependencies are shared between different apps, and the dependency tree is flat. Bower runs over Git, ......
Read more >
Bower — a package manager for the web
Bower installs packages to bower_components/ . $ bower install <package>. A package can be a GitHub shorthand, a Git endpoint, ...
Read more >
Using Bower for Custom Builds | ArcGIS API for JavaScript 4.4
Using Bower (A package manager for the front-end web development) is another ... The RequireJS loader is missing some methods that might be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found